Skip to content

Commit

Permalink
Fix logic to update version when HEAD changes. (helix-editor#10896)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcorre authored and AOx0 committed Jun 15, 2024
1 parent 4f946d3 commit 3ae064f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helix-loader/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ fn main() {
.ok()
.filter(|output| output.status.success())
.and_then(|x| String::from_utf8(x.stdout).ok())
.map(|x| x.trim().to_string())
else {
return;
};
Expand All @@ -67,6 +68,7 @@ fn main() {
.ok()
.filter(|output| output.status.success())
.and_then(|x| String::from_utf8(x.stdout).ok())
.map(|x| x.trim().to_string())
else {
return;
};
Expand Down

0 comments on commit 3ae064f

Please sign in to comment.