fraim 2.0.144 → 2.0.145
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -73,6 +73,9 @@ const resolveManagedCommand = (command) => {
|
|
|
73
73
|
if (command !== 'npx') {
|
|
74
74
|
return command;
|
|
75
75
|
}
|
|
76
|
-
|
|
76
|
+
// Prefer system-installed npx so we don't install our own Node when the
|
|
77
|
+
// machine already has one. Fall back to the FRAIM-managed portable copy
|
|
78
|
+
// only when no system npx is found. Last resort: bare command name.
|
|
79
|
+
return (0, exports.getSystemCommandPath)(command) || (0, exports.getPortableNpxCommand)() || command;
|
|
77
80
|
};
|
|
78
81
|
exports.resolveManagedCommand = resolveManagedCommand;
|