mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
Update USAGE
This commit is contained in:
@ -100,7 +100,7 @@ resolveChildren(node: DepNode): Thenable<DepNode[]> {
|
||||
switch(node.kind) {
|
||||
case 'root':
|
||||
const packageJsonPath = path.join(this.workspaceRoot, 'package.json');
|
||||
if (this.fileExists(packageJsonPath)) {
|
||||
if (this.pathExists(packageJsonPath)) {
|
||||
resolve(this.getDepsInPackageJson(packageJsonPath));
|
||||
} else {
|
||||
vscode.window.showInformationMessage('Workspace has no package.json');
|
||||
|
||||
Reference in New Issue
Block a user