From ed6062a8d487900b4a50b5161a98e750049fd541 Mon Sep 17 00:00:00 2001 From: Johan Mabille Date: Wed, 2 Oct 2024 11:19:54 +0200 Subject: [PATCH] linter --- libmamba/data/activate.bat | 1 - libmamba/src/core/shell_init.cpp | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/libmamba/data/activate.bat b/libmamba/data/activate.bat index d5eb0e0ba0..0b63e3ee9b 100644 --- a/libmamba/data/activate.bat +++ b/libmamba/data/activate.bat @@ -3,4 +3,3 @@ @CALL "%~dp0..\condabin\mamba_hook.bat" __MAMBA_INSERT_EXE_NAME__ activate %* - diff --git a/libmamba/src/core/shell_init.cpp b/libmamba/src/core/shell_init.cpp index 589c576e64..d4d6744d92 100644 --- a/libmamba/src/core/shell_init.cpp +++ b/libmamba/src/core/shell_init.cpp @@ -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;