mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 07:29:04 -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];
|
||||
|
||||
let expectedOutput;
|
||||
if (test.output[os.platform()]) {
|
||||
if (test.output[os.platform()] !== undefined) {
|
||||
expectedOutput = test.output[os.platform()];
|
||||
} else {
|
||||
expectedOutput = test.output;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue