diff --git a/.github/workflows/lint_and_test.yml b/.github/workflows/lint_and_test.yml index 5cbff21..f30452d 100644 --- a/.github/workflows/lint_and_test.yml +++ b/.github/workflows/lint_and_test.yml @@ -6,9 +6,6 @@ on: jobs: build: - - runs-on: ubuntu-latest - strategy: matrix: node-version: [16.x] @@ -18,6 +15,7 @@ jobs: ["windows-2019"], ["macos-11.0"], ] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 @@ -26,4 +24,6 @@ jobs: with: node-version: ${{ matrix.node-version }} - 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 diff --git a/Community/Tdarr_Plugin_a9he_New_file_size_check.js b/Community/Tdarr_Plugin_a9he_New_file_size_check.js index c352eba..32e99d6 100644 --- a/Community/Tdarr_Plugin_a9he_New_file_size_check.js +++ b/Community/Tdarr_Plugin_a9he_New_file_size_check.js @@ -52,7 +52,6 @@ const plugin = (file, librarySettings, inputs, otherArguments) => { const ratio = parseInt((newSize / oldSize) * 100, 10); - console.log(newSize, oldSize); const sizeText = `New file has size ${newSize.toFixed(3)} MB which is ${ratio}% ` + `of original file size: ${oldSize.toFixed(3)} MB`;