Skip to content

Commit

Permalink
feat: 🎸 compiler: set flags first
Browse files Browse the repository at this point in the history
✅ Closes: #319
  • Loading branch information
danielpinto8zz6 committed Mar 29, 2023
1 parent 1b9caeb commit 830963a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class Compiler {
let compilerArgs = [this.file.name, "-o", path.join(outputLocation, this.file.executable)];

if (this.inputFlags) {
compilerArgs = compilerArgs.concat(this.inputFlags.split(" "));
compilerArgs = this.inputFlags.split(" ").concat(compilerArgs);
}

let processExecution = new ProcessExecution(
Expand Down

0 comments on commit 830963a

Please sign in to comment.