Merge pull request #139 from ashleygwilliams/fix-bug

fix(logger): if no path, append wasm-pack.log to current dir
master
ashley williams 7 years ago committed by GitHub
commit 50bd37706d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/logger.rs

@ -49,10 +49,14 @@ fn log_file_path(cmd: &Command) -> PathBuf {
path_buf.push("wasm-pack.log");
path_buf
} else {
this_dir()
let mut path_buf = this_dir();
path_buf.push("wasm-pack.log");
path_buf
}
} else {
this_dir()
let mut path_buf = this_dir();
path_buf.push("wasm-pack.log");
path_buf
}
}

Loading…
Cancel
Save