MCPcopy
hub / github.com/dotnet/vscode-csharp / getPackageJSON

Function getPackageJSON

tasks/packageJson.ts:8–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6import * as fs from 'fs';
7
8export function getPackageJSON() {
9 return JSON.parse(fs.readFileSync('package.json').toString());
10}

Callers 5

installDependenciesFunction · 0.90
doPackageOfflineFunction · 0.90
updateRoslynVersionFunction · 0.90
updateRazorVersionFunction · 0.90

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected