-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Internal] Use subsub commands for micromamba shell
#2527
Conversation
micromamba shell
micromamba shell
6922b41
to
82aafe0
Compare
@@ -58,7 +58,7 @@ function Exit-MambaEnvironment { | |||
if ($deactivateCommand.Trim().Length -eq 0) { | |||
return; | |||
} | |||
Write-Verbose "[micromamba shell deactivate -s powershell]`n$deactivateCommand"; | |||
Write-Verbose "[micromamba shell deactivate --shell powershell]`n$deactivateCommand"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change aiming to make the command more explicit?
If so, should we change it everywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yhea, it's cosmetic. At first I started looking at them because I wanted to remove usages of micromamba shell --shell in favor of
micromamba shell --shell `
The code was previously not using sub command, which creates a mix of invlaid CLI arguments.
This is taking some load off #2475.