-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid uselessly trying to migrate plugins
The only time we need to migrate context-scope plugins is after moving from a CLI < 1.3 to a newer one. This commit makes use of the existing global initializer to do this migration once, for all contexts. This avoids an unnecessary slow down for every CLI commands, especially shell completion which should be as fast as possible. Signed-off-by: Marc Khouzam <[email protected]>
- Loading branch information
1 parent
92c98e8
commit 05e593e
Showing
3 changed files
with
26 additions
and
21 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
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