Skip to content

Commit 9453610

Browse files
fix: windows cache path
Co-authored-by: Guy Bedford <[email protected]>
1 parent 08e538d commit 9453610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worker-build/src/binary.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ fn remove_all_versions(name: &str, target: &str) -> Result<usize> {
114114

115115
/// Cache path for this binary instance
116116
fn cache_path(name: &str, version: &str, target: &str) -> Result<PathBuf> {
117-
let path_name = format!("{name}-{target}-{version}{MAYBE_EXE}");
117+
let path_name = format!("{name}-{target}-{version}");
118118
let path = dirs_next::cache_dir()
119119
.unwrap_or_else(std::env::temp_dir)
120120
.join("worker-build")

0 commit comments

Comments
 (0)