Skip to content

Commit

Permalink
🐛 Fixed a typo when shelling out to gleam.
Browse files Browse the repository at this point in the history
  • Loading branch information
hayleigh-dot-dev committed Apr 6, 2024
1 parent 9c65829 commit ff17cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lustre_dev_tools/project.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub type Function {
/// Compile the current project running the `gleam build` command.
///
pub fn build() -> Result(Nil, String) {
cli.exec(run: "gleam", in: ".", with: ["build", "--target=js"])
cli.exec(run: "gleam", in: ".", with: ["build", "--target", "javascript"])
|> result.map_error(pair.second)
|> result.replace(Nil)
}
Expand Down

0 comments on commit ff17cc6

Please sign in to comment.