Skip to content

Commit

Permalink
fixup! refactored post_build params
Browse files Browse the repository at this point in the history
  • Loading branch information
beborngod committed Jul 17, 2024
1 parent 8d6b360 commit b3c08d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enunion-helper/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub async fn post_build(
Some(
OpenOptions::new()
.append(true)
.open(specified_js.unwrap_or_else(|| Path::new("index.js")))
.open(specified_js.unwrap_or(Path::new("index.js")))
.map_err(|e| {
eprintln!("Could not open JavaScript file: {:?}", e);
ExitStatus::from_raw(1)
Expand Down

0 comments on commit b3c08d9

Please sign in to comment.