mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 20:20:49 +00:00
Add command to verify safe-chain is intercepting the package managers commands
This commit is contained in:
parent
2dd215d620
commit
0a983f1542
1 changed files with 5 additions and 0 deletions
|
|
@ -38,6 +38,11 @@ export async function main(args) {
|
|||
// This parses all the --safe-chain arguments and removes them from the args array
|
||||
args = initializeCliArguments(args);
|
||||
|
||||
if (args[0] === "safe-chain-verify") {
|
||||
ui.writeInformation("Safe-chain: Ok");
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (shouldScanCommand(args)) {
|
||||
const commandScanResult = await scanCommand(args);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue