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 Vulpesx committed Jun 7, 2024
1 parent cf05825 commit 15fce96
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 15fce96

Please sign in to comment.