Skip to content

Commit

Permalink
Terminate last line of output if shfmt disabled (amber-lang#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
hdwalters authored and Mte90 committed Sep 19, 2024
1 parent d9ebda2 commit 0ffdda2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ impl AmberCompiler {
);
}

let mut res = result.join("\n");
let mut res = result.join("\n") + "\n";

if !self.cli_opts.disable_format {
if let Some(formatter) = BashFormatter::get_available() {
Expand Down

0 comments on commit 0ffdda2

Please sign in to comment.