Skip to content

Commit

Permalink
Update src/zigCompilerProvider.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Veikka Tuominen <git@vexu.eu>
  • Loading branch information
Jarred-Sumner and Vexu authored May 23, 2021
1 parent 6744cfb commit 9e76c55
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/zigCompilerProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,7 @@ export default class ZigCompilerProvider implements vscode.CodeActionProvider {
const cwd = vscode.workspace.getWorkspaceFolder(textDocument.uri).uri
.fsPath;

let childProcess = cp.spawn(
zig_path as string,
["astgen", "--errors-only", "--stdin"],
{ cwd }
);
let childProcess = cp.spawn(zig_path as string, ["ast-check"], { cwd });

if (!childProcess.pid) {
return;
Expand Down

0 comments on commit 9e76c55

Please sign in to comment.