Skip to content

Commit f354695

Browse files
committed
exit process when busy
1 parent eb6b753 commit f354695

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/pdf-bot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ program
312312

313313
var isBusy = queue.isBusy()
314314
if (isBusy) {
315-
return
315+
process.exit(0)
316316
}
317317

318318
var maxTries = configuration.queue.generationMaxTries

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pdf-bot",
3-
"version": "0.4.2",
3+
"version": "0.4.3",
44
"author": "Esben Petersen <[email protected]>",
55
"homepage": "https://github.com/esbenp/pdf-bot",
66
"license": "MIT",

0 commit comments

Comments
 (0)