Skip to content

Commit

Permalink
fix(harmonizer): windows file paths
Browse files Browse the repository at this point in the history
  • Loading branch information
abernix committed Mar 12, 2021
1 parent 517dc18 commit 8131012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harmonizer/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::{env, fs::metadata};

fn main() {
let out_dir = env::var_os("OUT_DIR").unwrap();
let dest_path = Path::new(&out_dir).join("/dist/composition.js");
let dest_path = Path::new(&out_dir).join("dist").join("composition.js");
if metadata(dest_path).is_err() {
assert!(Command::new("npm")
.current_dir("../")
Expand Down

0 comments on commit 8131012

Please sign in to comment.