Skip to content

Commit

Permalink
and fix trim
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Oct 18, 2024
1 parent 6ffc8a5 commit 102ed03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/src/modules/binarize/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ impl Module for Binarize {
"..\\{}",
&target
.output
.trim_start_matches(tmp_source.to_str().expect("path is valid utf-8"))
.trim_start_matches(ctx.tmp().to_str().expect("path is valid utf-8"))
.trim_start_matches('/')
.replace('/', "\\")
),
Expand Down

0 comments on commit 102ed03

Please sign in to comment.