Remove some debug logging

This commit is contained in:
Reinier Criel 2025-11-06 12:25:55 -08:00
parent dd2894faab
commit e88aede939
5 changed files with 0 additions and 4 deletions

0
packages/safe-chain/bin/aikido-python.js Normal file → Executable file
View file

0
packages/safe-chain/bin/aikido-python3.js Normal file → Executable file
View file

View file

@ -11,7 +11,6 @@ export function createPipPackageManager() {
runCommand: (args) => {
const invocation = getCurrentPipInvocation();
const fullArgs = [...invocation.args, ...args];
console.debug('[safe-chain debug] runCommand:', invocation.command, fullArgs);
return runPip(invocation.command, fullArgs);
},
// For pip, rely solely on MITM proxy to detect/deny downloads from known registries.

View file

@ -7,8 +7,6 @@ remove_shim_from_path() {
echo "$PATH" | sed "s|$HOME/.safe-chain/shims:||g"
}
echo "[safe-chain debug] command -v {{AIKIDO_COMMAND}} (raw PATH): $(command -v {{AIKIDO_COMMAND}} 2>/dev/null || echo notfound)" >&2
echo "[safe-chain debug] PATH (raw): $PATH" >&2
if command -v {{AIKIDO_COMMAND}} >/dev/null 2>&1; then
# Remove shim directory from PATH when calling {{AIKIDO_COMMAND}} to prevent infinite loops
PATH=$(remove_shim_from_path) exec {{AIKIDO_COMMAND}} "$@"

View file

@ -21,7 +21,6 @@ function wrapSafeChainCommand() {
else
# If the aikido command is not available, print a warning and run the original command
printSafeChainWarning "$original_cmd"
command "$original_cmd" "$@"
fi
}