Mercurial > forks > helix
changeset 5790:ca49692d4470
Fix logic to update version when HEAD changes. (#10896)
author | Ryan Roden-Corrent <ryan@rcorre.net> |
---|---|
date | Thu, 06 Jun 2024 19:24:33 -0400 |
parents | 16ec9cc45eab |
children | 70a313f28b56 |
files | helix-loader/build.rs |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/helix-loader/build.rs Wed Jun 05 23:28:10 2024 -0500 +++ b/helix-loader/build.rs Thu Jun 06 19:24:33 2024 -0400 @@ -50,6 +50,7 @@ .ok() .filter(|output| output.status.success()) .and_then(|x| String::from_utf8(x.stdout).ok()) + .map(|x| x.trim().to_string()) else { return; }; @@ -67,6 +68,7 @@ .ok() .filter(|output| output.status.success()) .and_then(|x| String::from_utf8(x.stdout).ok()) + .map(|x| x.trim().to_string()) else { return; };