function name change

This commit is contained in:
Sahilb315
2025-04-23 01:12:26 +05:30
parent d636a928c4
commit cdc43d3a14
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ func NewNpmCommand() *cobra.Command {
}
// For non-install actions, just pass through to npm
npmPath, err := utils.GetInterpreterPath("npm")
npmPath, err := utils.GetExecutablePath("npm")
if err != nil {
return fmt.Errorf("npm not found: %w", err)
}
@@ -142,7 +142,7 @@ func wrapNpm() error {
}
// Get the npm PATH
npmPath, err := utils.GetInterpreterPath("npm")
npmPath, err := utils.GetExecutablePath("npm")
if err != nil {
return fmt.Errorf("npm not found: %w", err)
}