Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Commit

Permalink
Update projectView.ts
Browse files Browse the repository at this point in the history
added --clear again
  • Loading branch information
shry committed Jun 27, 2019
1 parent 0d68d1a commit acd8a30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/projectView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export class ProjectNodeProvider implements vscode.TreeDataProvider<ProjectNode>
checkPackageUpdate();
}

shell.exec('wordup list --json', {cwd:this.extensionPath}, (code:number, stdout: string, stderr: string) => {
shell.exec('wordup list --json --clear', {cwd:this.extensionPath}, (code:number, stdout: string, stderr: string) => {
const wordup_list = JSON.parse(stdout);
let plist:ProjectNode[] = [];
wordup_list.forEach((element: ProjectRootData) => {
Expand Down

0 comments on commit acd8a30

Please sign in to comment.