Display current branch and version on the footer #10

Merged
blek merged 6 commits from display-version into 0.2-dev 2023-10-29 10:48:35 +01:00
1 changed files with 5 additions and 0 deletions
Showing only changes of commit 32375127a9 - Show all commits

View File

@ -22,6 +22,11 @@ fn system(cmd: &str, args: &[&str]) -> String {
.args(args)
.output()
.unwrap();
if out.stderr.len() != 0 {
panic!("Got this while running {cmd} with \"{}\": {}", args.join(" "), String::from_utf8(out.stderr).unwrap())
}
String::from_utf8(out.stdout).unwrap()
}