aboutsummaryrefslogtreecommitdiff
path: root/src/feature
diff options
context:
space:
mode:
authorj-james2020-11-06 20:11:37 +0000
committerj-james2020-11-06 20:11:37 +0000
commit3eb14df9811583e4c4034f76604895cf79f311f1 (patch)
treed2dfc09d82bd5d9bdb2145a497c1db38ec9750e6 /src/feature
parent7242638eb774b39b3c0fe0f4d2c24e9138edfd24 (diff)
Fix warnings introduced in Nim 1.4
Diffstat (limited to 'src/feature')
-rw-r--r--src/feature/syncclean.nim2
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)