mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Rely on npm version rather than node version to determine which scanner to use. Fixes #46
This commit is contained in:
parent
5658eb04af
commit
4e3fe7b738
5 changed files with 30 additions and 22 deletions
|
|
@ -5,7 +5,6 @@ const scanner = commandArgumentScanner();
|
|||
|
||||
export function createYarnPackageManager() {
|
||||
return {
|
||||
getWarningMessage: () => null,
|
||||
runCommand: runYarnCommand,
|
||||
isSupportedCommand: (args) =>
|
||||
matchesCommand(args, "add") ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue