Skip to content

Commit

Permalink
fix: throw an error if can't compile
Browse files Browse the repository at this point in the history
  • Loading branch information
alexghr committed Oct 26, 2023
1 parent 1b328b2 commit 82c01e2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,9 @@ export class NoirWasmContractCompiler {
} else {
this.#log('Error compiling contract ' + err);
}

throw new Error("Couldn't compile contract");
}
return [];
}

#resolveFile = (path: string) => {
Expand Down

0 comments on commit 82c01e2

Please sign in to comment.