Skip to content

Commit

Permalink
[MegaLinter] Apply linters fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx authored and megalinter-bot committed Mar 16, 2024
1 parent 3643516 commit 288622e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/fixtures/signal-test.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
let i = 3;
let i = 3

process.on("SIGINT", function () {
process.on('SIGINT', function () {
if (i > 0) {
console.log(`Got SIGINT. Press Control-D to exit. ${i} times left`);
i--;
console.log(`Got SIGINT. Press Control-D to exit. ${i} times left`)
i--
} else {
process.exit();
process.exit()
}
});
})

// wait for 60 seconds
setTimeout(function () {}, 60000);
console.log("Running. Press Control-C to test.");
setTimeout(function () {}, 60000)
console.log('Running. Press Control-C to test.')

0 comments on commit 288622e

Please sign in to comment.