mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-24 08:15:25 +00:00
{.deprecated: [existsFile: fileExists].} (#14735)
* {.deprecated: [existsFile: fileExists].}
* s/existsFile/fileExists/ except under deps
* workaround pending #14819
* fix test
This commit is contained in:
@@ -20,7 +20,7 @@ proc genBadFileName(limit = 100): string =
|
||||
var hitLimit = true
|
||||
|
||||
for i in 0..100:
|
||||
if existsFile(result):
|
||||
if fileExists(result):
|
||||
result.add("a")
|
||||
else:
|
||||
hitLimit = false
|
||||
|
||||
Reference in New Issue
Block a user