Skip to content

Commit

Permalink
bind cleanup.add handler in runWithCommands too
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Jul 20, 2020
1 parent 749edda commit a53a5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kbn-dev-utils/src/run/run_with_commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export class RunWithCommands<T> {
log,
flags: commandFlags,
procRunner,
addCleanupTask: cleanup.add,
addCleanupTask: cleanup.add.bind(cleanup),
};

const extendedContext = {
Expand Down

0 comments on commit a53a5e2

Please sign in to comment.