Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
PgBiel committed Sep 30, 2024
1 parent 0672ee0 commit f95a5d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler-wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ pub fn compile_package(project_id: usize, target: &str) -> Result<(), String> {
"js" | "javascript" => Target::JavaScript,
"nix" => Target::Nix,
_ => {
let msg = format!("Unknown target `{target}`, expected `erlang`, `javascript` or `nix`");
let msg =
format!("Unknown target `{target}`, expected `erlang`, `javascript` or `nix`");
return Err(msg);
}
};
Expand Down

0 comments on commit f95a5d1

Please sign in to comment.