From 813101200012f9268fcafb65eeaedf27ca7479b7 Mon Sep 17 00:00:00 2001 From: Jesse Rosenberger Date: Fri, 12 Mar 2021 20:07:59 +0000 Subject: [PATCH] fix(harmonizer): windows file paths --- harmonizer/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/harmonizer/build.rs b/harmonizer/build.rs index 5fbdcf659..93c567e47 100644 --- a/harmonizer/build.rs +++ b/harmonizer/build.rs @@ -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("../")