Skip to content

Commit 9d2be90

Browse files
skip execution if disabled
1 parent ce2833b commit 9d2be90

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/launcher/job.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ class Job extends EventEmitter {
2727
}
2828

2929
execute(env) {
30+
if (this.data.disabled) {
31+
this.emit('finished', 0);
32+
return;
33+
}
3034
const id = UUID(0).uuid();
3135
const logDir = 'data/public/log/';
3236

0 commit comments

Comments
 (0)