diff options
author | j-james | 2020-11-06 20:11:37 +0000 |
---|---|---|
committer | j-james | 2020-11-06 20:11:37 +0000 |
commit | 3eb14df9811583e4c4034f76604895cf79f311f1 (patch) | |
tree | d2dfc09d82bd5d9bdb2145a497c1db38ec9750e6 /src/feature/syncclean.nim | |
parent | 7242638eb774b39b3c0fe0f4d2c24e9138edfd24 (diff) |
Fix warnings introduced in Nim 1.4
Diffstat (limited to 'src/feature/syncclean.nim')
-rw-r--r-- | src/feature/syncclean.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/syncclean.nim b/src/feature/syncclean.nim index 6b1f853..ad0c255 100644 --- a/src/feature/syncclean.nim +++ b/src/feature/syncclean.nim @@ -31,7 +31,7 @@ proc handleSyncClean*(args: seq[Argument], config: Config): int = else: echo(tr"removing all package repositories...") - if existsDir(reposCacheDir): + if dirExists(reposCacheDir): withAlpmConfig(config, false, handle, dbs, errors): for e in errors: printError(config.color, e) |