examples,tools: cleanup most warnings

This commit is contained in:
Delyan Angelov 2020-12-04 16:05:39 +02:00
parent 7a8d6a7c7b
commit 3f2133c65e
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
4 changed files with 4 additions and 5 deletions

View file

@ -27,7 +27,7 @@ pub fn validate_commit_exists(commit string) {
if commit.len == 0 {
return
}
cmd := "git cat-file -t \'$commit\' "
cmd := "git cat-file -t '$commit' "
if !scripting.exit_0_status(cmd) {
eprintln('Commit: "$commit" does not exist in the current repository.')
exit(3)