mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-13 17:30:27 -07:00
Fix lint
This commit is contained in:
parent
b52587222b
commit
15cb89bf78
1 changed files with 2 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ const run = async () => {
|
||||||
}
|
}
|
||||||
output.stdout = stdout;
|
output.stdout = stdout;
|
||||||
output.stderr = stderr;
|
output.stderr = stderr;
|
||||||
|
// eslint-disable-next-line no-loop-func
|
||||||
}).on('exit', async (code) => {
|
}).on('exit', async (code) => {
|
||||||
if (code !== 0) {
|
if (code !== 0) {
|
||||||
await new Promise((resolve2) => setTimeout(resolve2, 1000));
|
await new Promise((resolve2) => setTimeout(resolve2, 1000));
|
||||||
|
|
@ -52,6 +53,7 @@ const run = async () => {
|
||||||
...output,
|
...output,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
pluginsFinished += 1;
|
pluginsFinished += 1;
|
||||||
|
|
||||||
if (pluginsFinished === pluginsToRun.length) {
|
if (pluginsFinished === pluginsToRun.length) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue