From 3eb14df9811583e4c4034f76604895cf79f311f1 Mon Sep 17 00:00:00 2001 From: j-james Date: Fri, 6 Nov 2020 12:11:37 -0800 Subject: Fix warnings introduced in Nim 1.4 --- src/feature/syncclean.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/feature') 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) -- cgit v1.2.3-70-g09d2