feat: include exe and updated filepath

This commit is contained in:
Guy C
2025-03-14 01:46:25 +00:00
parent 051ef02011
commit 5778b3145d
2 changed files with 1 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ function generateErrors(code, filePath) {
let output;
try {
const waccExePath = `${__dirname}/wacc-compiler`;
const waccExePath = `${__dirname}/../wacc-compiler`;
output = execSync(`${waccExePath} ${tmpFilePath}`, { encoding: 'utf8', stdio: 'pipe' });
} catch (err) {
console.log("Error running compiler");