We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2535c6c commit f78d488Copy full SHA for f78d488
extensions/npm/src/npmView.ts
@@ -83,7 +83,7 @@ class NpmScript extends TreeItem {
83
: task.task.name;
84
super(name, TreeItemCollapsibleState.None);
85
this.taskLocation = task.location;
86
- const command: ExplorerCommands = name === INSTALL_SCRIPT ? 'run' : workspace.getConfiguration('npm').get<ExplorerCommands>('scriptExplorerAction') || 'open';
+ const command: ExplorerCommands = name === `${INSTALL_SCRIPT} ` ? 'run' : workspace.getConfiguration('npm').get<ExplorerCommands>('scriptExplorerAction') || 'open';
87
88
const commandList = {
89
'open': {
0 commit comments