Update USAGE

This commit is contained in:
Pine Wu
2016-11-17 10:16:06 -08:00
parent 2a1eab609a
commit aa2bfefe1b

View File

@ -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');