Rely on npm version rather than node version to determine which scanner to use. Fixes #46

This commit is contained in:
Sander Declerck 2025-09-15 09:39:41 +02:00
parent 5658eb04af
commit 4e3fe7b738
No known key found for this signature in database
5 changed files with 30 additions and 22 deletions

View file

@ -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),