File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -179,8 +179,9 @@ pub fn run(config: Config, subcommand: Subcommand) -> ExitCode {
179179 debug ! ( "Determined env path: {:?}" , env_path) ;
180180 let micromamba_prefix_bin = env_path. join ( "bin" ) ;
181181 let prefix_prefix_bin = |existing_path : & str | {
182+ let separator = if cfg ! ( windows) { ";" } else { ":" } ;
182183 let bin_path = micromamba_prefix_bin. to_string_lossy ( ) ;
183- format ! ( "{}:{} " , bin_path, existing_path)
184+ format ! ( "{}{}{} " , bin_path, separator , existing_path)
184185 } ;
185186 println ! ( "{}" , shell. map_env_var( "PATH" , prefix_prefix_bin) ) ;
186187
Original file line number Diff line number Diff line change @@ -169,7 +169,11 @@ fn csm_env_activate_bash() -> Result<(), Error> {
169169 . arg ( "-c" )
170170 . arg (
171171 "eval \" $(csm init bash --code)\" &&\
172+ echo $PATH &&\
172173 csm env activate -n csm_env_activate_bash &&\
174+ echo $PATH &&\
175+ echo '**********************************' &&\
176+ ls /c/Users/runneradmin/AppData/Local/Temp/csm*/AppData/Roaming/mamba/envs/csm_env_activate_bash/bin
173177 robot --version" ,
174178 )
175179 . assert ( )
You can’t perform that action at this time.
0 commit comments