Some cleanup

This commit is contained in:
Reinier Criel 2026-04-10 14:57:45 -07:00
parent 32c95dbb9d
commit 6628e1d4fd
4 changed files with 14 additions and 12 deletions

View file

@ -3,11 +3,7 @@ REM Generated wrapper for {{PACKAGE_MANAGER}} by safe-chain
REM This wrapper intercepts {{PACKAGE_MANAGER}} calls for non-interactive environments
REM Remove shim directory from PATH to prevent infinite loops
if defined SAFE_CHAIN_DIR (
set "SHIM_DIR=%SAFE_CHAIN_DIR%\shims"
) else (
set "SHIM_DIR=%USERPROFILE%\.safe-chain\shims"
)
set "SHIM_DIR={{SHIMS_DIR}}"
call set "CLEAN_PATH=%%PATH:%SHIM_DIR%;=%%"
REM Check if aikido command is available with clean PATH