-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure
beforeRun
is included in command
instrumentation.
Prior to this change `command.beforeRun` was being included in `init` instrumentation. This change fixes that by moving `.beforeRun` into `command` instrumentation. This change also ensures that `beforeRun` can return a promise (which we had previously documented in the API docs but was not actually supported until this commit) and adds a test.
- Loading branch information
Showing
2 changed files
with
61 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters