fix some warnings (#16952)
This commit is contained in:
parent
910720b0d4
commit
f140c92409
22 changed files with 119 additions and 119 deletions
|
|
@ -304,7 +304,7 @@ proc getValue(t: StringTableRef, flags: set[FormatFlag], key: string): string =
|
|||
when defined(js) or defined(nimscript) or defined(Standalone):
|
||||
result = ""
|
||||
else:
|
||||
if useEnvironment in flags: result = getEnv(key).string
|
||||
if useEnvironment in flags: result = getEnv(key)
|
||||
else: result = ""
|
||||
if result.len == 0:
|
||||
if useKey in flags: result = '$' & key
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue