mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
examples,tools: cleanup most warnings
This commit is contained in:
parent
7a8d6a7c7b
commit
3f2133c65e
4 changed files with 4 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue