We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fb135c commit e7a37bbCopy full SHA for e7a37bb
bin/compileCLI.js
@@ -7,8 +7,8 @@ const cliOptions = [
7
{ name: "module", alias: "m", type: Boolean },
8
{ name: "output", alias: "o", type: String },
9
{ name: "input", alias: "i", type: String },
10
- { name: "spawn", type: Boolean },
11
- { name: "source", type: String }
+ { name: "spawn", type: Boolean },
+ { name: "source", type: String }
12
];
13
const args = cliParser(cliOptions);
14
if (!("standalone" in args)) args.standalone = false;
@@ -54,7 +54,7 @@ if (args.input !== null) {
54
if (args.output !== null) console.log("Opening " + args.input + " for compilation.");
55
inputSource(args.input, compile);
56
} else if(args.source) {
57
- compile(args.source);
+ compile(args.source);
58
} else {
59
stdInSource(compile);
60
}
0 commit comments