Skip to content

Commit 6c38f48

Browse files
committed
fix: no need to throw with base task
1 parent 0e2e914 commit 6c38f48

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

packages/tasker/src/tasks/base.task.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,5 @@ export abstract class BaseTask implements Task {
2424
}
2525

2626
// eslint-disable-next-line @typescript-eslint/no-unused-vars
27-
run(args: string[]) {
28-
throw new Error(
29-
`Unimplemented task ${this.name}. Did you forget to subclass BaseTask and implement run?`,
30-
);
31-
}
27+
run(args: string[]) {}
3228
}

0 commit comments

Comments
 (0)