Skip to content

Commit 08b04c3

Browse files
invert message if statement
1 parent d47fdae commit 08b04c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/Executor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class Executor {
4646
const {error, stderr} = await this.#executeFile('taskkill', ['/pid', String(process.pid), '/t', '/f'])
4747
const message = error || stderr
4848

49-
if (message) {
49+
if (!message) {
5050
return true
5151
}
5252

0 commit comments

Comments
 (0)