MCPcopy Create free account
hub / github.com/Snapchat/Valdi / getPackageManager

Function getPackageManager

valdi/vscode_debugger/src/ui/getRunScriptCommand.ts:10–11  ·  view source on GitHub ↗
(folder: WorkspaceFolder | undefined)

Source from the content-addressed store, hash-verified

8 * Gets the package manager the user configured in the folder.
9 */
10const getPackageManager = (folder: WorkspaceFolder | undefined) =>
11 workspace.getConfiguration('npm', folder?.uri).get<string>('packageManager', 'npm');
12
13/**
14 * Gets a command to run a script

Callers 1

getRunScriptCommandFunction · 0.70

Calls 1

getMethod · 0.65

Tested by

no test coverage detected