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 @@ export function createNpxPackageManager() {
|
|||
const scanner = commandArgumentScanner();
|
||||
|
||||
return {
|
||||
getWarningMessage: () => null,
|
||||
runCommand: runNpx,
|
||||
isSupportedCommand: (args) => scanner.shouldScan(args),
|
||||
getDependencyUpdatesForCommand: (args) => scanner.scan(args),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue