nim pretty: default is now to overwrite files
This commit is contained in:
parent
8925d0e103
commit
8aca51a88d
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ var
|
|||
gCheckExtern: bool
|
||||
|
||||
proc overwriteFiles*() =
|
||||
let overWrite = options.getConfigVar("pretty.overwrite").normalize == "on"
|
||||
let overWrite = options.getConfigVar("pretty.overwrite").normalize != "off"
|
||||
let doStrip = options.getConfigVar("pretty.strip").normalize == "on"
|
||||
for i in 0 .. high(gSourceFiles):
|
||||
if not gSourceFiles[i].dirty: continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue