mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 07:29:04 -07:00
Fix os
This commit is contained in:
parent
ea892dd1c3
commit
8e0a8954b4
2 changed files with 4 additions and 5 deletions
8
.github/workflows/lint_and_test.yml
vendored
8
.github/workflows/lint_and_test.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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`;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue