mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-18 05:20:31 +00:00
koch.nim: indentation uses 2 spaces
This commit is contained in:
10
koch.nim
10
koch.nim
@@ -192,11 +192,11 @@ proc zip(latest: bool; args: string) =
|
||||
["tools/niminst/niminst".exe, VersionAsString])
|
||||
|
||||
proc ensureCleanGit() =
|
||||
let (outp, status) = osproc.execCmdEx("git diff")
|
||||
if outp.len != 0:
|
||||
quit "Not a clean git repository; 'git diff' not empty!"
|
||||
if status != 0:
|
||||
quit "Not a clean git repository; 'git diff' returned non-zero!"
|
||||
let (outp, status) = osproc.execCmdEx("git diff")
|
||||
if outp.len != 0:
|
||||
quit "Not a clean git repository; 'git diff' not empty!"
|
||||
if status != 0:
|
||||
quit "Not a clean git repository; 'git diff' returned non-zero!"
|
||||
|
||||
proc xz(latest: bool; args: string) =
|
||||
ensureCleanGit()
|
||||
|
||||
Reference in New Issue
Block a user