diff options
author | shirleyquirk | 2020-08-04 23:54:04 +0000 |
---|---|---|
committer | GitHub | 2020-08-04 23:54:04 +0000 |
commit | 22799b2e439d6b74ca648060faa1e3f1ee13f946 (patch) | |
tree | 512a18c53d4e7e6878ea134a2a307e3caec2278d /src/feature/syncclean.nim | |
parent | b2321b0ded6f4a9803daf9dbcbd88d56321a9305 (diff) | |
parent | 731f8d7692bfe08f5fd5890a98797f9b1b8d065d (diff) |
Merge pull request #1 from shirleyquirk/collect
Collect
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) |