diff options
Diffstat (limited to 'compiler/options.nim')
-rw-r--r-- | compiler/options.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/options.nim b/compiler/options.nim index 02719cacc..8acf9e830 100644 --- a/compiler/options.nim +++ b/compiler/options.nim @@ -295,7 +295,7 @@ proc completeGeneratedFilePath*(f: string, createSubDir: bool = true): string = createDir(subdir) when noTimeMachine: excludeDirFromTimeMachine(subdir) - except EOS: + except OSError: writeln(stdout, "cannot create directory: " & subdir) quit(1) result = joinPath(subdir, tail) |