mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 20:20:49 +00:00
Update packages/safe-chain/src/shell-integration/supported-shells/windowsPowershell.js
Co-authored-by: aikido-pr-checks[bot] <169896070+aikido-pr-checks[bot]@users.noreply.github.com>
This commit is contained in:
parent
8cf41dc4a6
commit
e5c79e5bd6
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ function teardown(tools) {
|
|||
);
|
||||
}
|
||||
|
||||
// Remove the line that sources the safe-chain PowerShell initialization script (any path, requires safe-chain comment)
|
||||
// Match any installation path but require the Safe-chain marker to avoid removing unrelated user scripts
|
||||
removeLinesMatchingPattern(
|
||||
startupFile,
|
||||
/^\.\s+["']?.*init-pwsh\.ps1["']?.*#\s*Safe-chain/,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue