Skip to content

Commit 140fee0

Browse files
committed
fix: local package not used due to incorrect env var
1 parent d9457ea commit 140fee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go-runner/src/builder/patcher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ pub fn install_codspeed_dependency<P: AsRef<Path>>(module_dir: P) -> anyhow::Res
323323

324324
// Ensure we have the latest codspeed-go package installed. Just
325325
// use the local one which might contain uncommitted changes.
326-
if std::env::var("CODSPEED_LOCAL_GO_PKG").is_ok() || cfg!(test) {
326+
if std::env::var("CODSPEED_GO_PKG_VERSION").is_ok() || cfg!(test) {
327327
replace_pkg(folder)?;
328328
}
329329

0 commit comments

Comments
 (0)