Skip to content

Commit

Permalink
fix(cli): ESBuild path on Windows (#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuiiBz authored Mar 5, 2023
1 parent bed6e38 commit 0744125
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/flat-walls-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@lagon/cli': patch
---

Fix ESBuild path on Windows
2 changes: 1 addition & 1 deletion crates/cli/src/utils/deployments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use super::{
pub type Assets = HashMap<String, Vec<u8>>;

#[cfg(windows)]
const ESBUILD: &str = "C:\\Program Files\\nodejs\\esbuild.cmd";
const ESBUILD: &str = "esbuild.cmd";

#[cfg(not(windows))]
const ESBUILD: &str = "esbuild";
Expand Down

0 comments on commit 0744125

Please sign in to comment.