Do not disable require-atomic-updates and no-unused-vars

This commit is contained in:
Vitaliy Filippov
2024-04-20 02:02:13 +03:00
parent 2c0801f6e4
commit 87b3ab94fe
6 changed files with 8 additions and 17 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ async function run()
function system(cmd)
{
return new Promise((ok, no) => child_process.exec(cmd, { maxBuffer: 64*1024*1024 }, (err, stdout, stderr) => (err ? no(err.message) : ok(stdout))));
return new Promise((ok, no) => child_process.exec(cmd, { maxBuffer: 64*1024*1024 }, (err, stdout/*, stderr*/) => (err ? no(err.message) : ok(stdout))));
}
run().catch(err => { console.error(err); process.exit(1); });