aboutsummaryrefslogtreecommitdiff
path: root/src/feature
diff options
context:
space:
mode:
authorBenjamin Shirley-Quirk2020-08-04 21:55:59 +0000
committerBenjamin Shirley-Quirk2020-08-04 21:55:59 +0000
commitb8d35dea8fb61ec177ab898b70404338f2ed477b (patch)
tree57574095014c34825f7ec0943944e156793742e4 /src/feature
parent8ca6a6ae081fa6381e79b43d1363e5e5ce00c9ba (diff)
dirExists -> existsDir
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)