make-only-subtitle-default
HaveAGitGat 4 years ago
parent ea892dd1c3
commit 8e0a8954b4

@ -6,9 +6,6 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
node-version: [16.x] node-version: [16.x]
@ -18,6 +15,7 @@ jobs:
["windows-2019"], ["windows-2019"],
["macos-11.0"], ["macos-11.0"],
] ]
runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -26,4 +24,6 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- run: npm i - run: npm i
- run: npm run checkPlugins && npm run lint && npm run test - run: npm run checkPlugins
- run: npm run lint
- run: npm run test

@ -52,7 +52,6 @@ const plugin = (file, librarySettings, inputs, otherArguments) => {
const ratio = parseInt((newSize / oldSize) * 100, 10); const ratio = parseInt((newSize / oldSize) * 100, 10);
console.log(newSize, oldSize);
const sizeText = `New file has size ${newSize.toFixed(3)} MB which is ${ratio}% ` const sizeText = `New file has size ${newSize.toFixed(3)} MB which is ${ratio}% `
+ `of original file size: ${oldSize.toFixed(3)} MB`; + `of original file size: ${oldSize.toFixed(3)} MB`;

Loading…
Cancel
Save