mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-16 10:45:53 -07:00
Fix OS test logic
This commit is contained in:
parent
8e0a8954b4
commit
33318486f4
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ const run = async (tests) => {
|
||||||
const test = tests[i];
|
const test = tests[i];
|
||||||
|
|
||||||
let expectedOutput;
|
let expectedOutput;
|
||||||
if (test.output[os.platform()]) {
|
if (test.output[os.platform()] !== undefined) {
|
||||||
expectedOutput = test.output[os.platform()];
|
expectedOutput = test.output[os.platform()];
|
||||||
} else {
|
} else {
|
||||||
expectedOutput = test.output;
|
expectedOutput = test.output;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue