Skip to content

Commit

Permalink
Merge pull request #320 from danielpinto8zz6/feature/compiler_flags_f…
Browse files Browse the repository at this point in the history
…irst

feat: 🎸 compiler: set flags first
  • Loading branch information
danielpinto8zz6 authored Jun 24, 2023
2 parents ec547e4 + 830963a commit 01f11e5
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 01f11e5

Please sign in to comment.