diff options
author | genotrance <dev@genotrance.com> | 2020-03-12 02:53:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-12 08:53:11 +0100 |
commit | bbc231f8e06c18fe640fa56a927df476c2426ccb (patch) | |
tree | 39cf9161ebb0abba48cc82d8d28f979cece8a183 /compiler | |
parent | 64995db4fdc8d39a9d9c7a1bfb5d8e1dd8c0f902 (diff) | |
download | Nim-bbc231f8e06c18fe640fa56a927df476c2426ccb.tar.gz |
Fix #12676 (#13634)
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/scriptconfig.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/scriptconfig.nim b/compiler/scriptconfig.nim index 6aad1b25f..220486aed 100644 --- a/compiler/scriptconfig.nim +++ b/compiler/scriptconfig.nim @@ -57,9 +57,9 @@ proc setupVM*(module: PSym; cache: IdentCache; scriptName: string; # Idea: Treat link to file as a file, but ignore link to directory to prevent # endless recursions out of the box. - cbos listFiles: + cbos listFilesImpl: listDirs(a, {pcFile, pcLinkToFile}) - cbos listDirs: + cbos listDirsImpl: listDirs(a, {pcDir}) cbos removeDir: if defined(nimsuggest) or graph.config.cmd == cmdCheck: |