Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanMabille committed Oct 2, 2024
1 parent 4f32268 commit 6eee40a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion libmamba/data/activate.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@

@CALL "%~dp0..\condabin\mamba_hook.bat"
__MAMBA_INSERT_EXE_NAME__ activate %*

6 changes: 1 addition & 5 deletions libmamba/src/core/shell_init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -752,11 +752,7 @@ namespace mamba
std::string("__MAMBA_INSERT_MAMBA_EXE__"),
"@SET \"MAMBA_EXE=" + exe.string() + "\""
);
util::replace_all(
hook_content,
std::string("__MAMBA_INSERT_EXE_NAME__"),
exe_name.string()
);
util::replace_all(hook_content, std::string("__MAMBA_INSERT_EXE_NAME__"), exe_name.string());

std::ofstream mamba_hook_bat_f = open_ofstream(root_prefix / "condabin" / "mamba_hook.bat");
mamba_hook_bat_f << hook_content;
Expand Down

0 comments on commit 6eee40a

Please sign in to comment.