We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e643528 commit 3427928Copy full SHA for 3427928
src/index.ts
@@ -8,6 +8,7 @@ import { ExtendedCircomParser } from "./ExtendedCircomParser";
8
export function getCircomParser(source: string): ExtendedCircomParser {
9
let inputStream: antlr4.CharStream;
10
let fileIdentifier = "Built from source";
11
+
12
if (fs.existsSync(source)) {
13
inputStream = antlr4.CharStreams.fromPathSync(source, "utf8");
14
fileIdentifier = source;
0 commit comments