Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ getRunScriptCommand
Function
getRunScriptCommand
valdi/vscode_debugger/src/ui/getRunScriptCommand.ts:16–17 ·
view source on GitHub ↗
(name: string, folder?: WorkspaceFolder)
Source
from the content-addressed store, hash-verified
14
* Gets a command to run a script
15
*/
16
export
const
getRunScriptCommand = (name: string, folder?: WorkspaceFolder) =>
17
`${getPackageManager(folder)} run ${name}`;
Callers
4
provideCodeLenses
Method · 0.90
debugNpmScript
Function · 0.90
getFromNpmScripts
Method · 0.90
getFromNpmScripts
Method · 0.90
Calls
1
getPackageManager
Function · 0.70
Tested by
no test coverage detected