diff options
Diffstat (limited to 'lib/std/private/globs.nim')
-rw-r--r-- | lib/std/private/globs.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/private/globs.nim b/lib/std/private/globs.nim index 5e3e33cb4..64065aac8 100644 --- a/lib/std/private/globs.nim +++ b/lib/std/private/globs.nim @@ -60,7 +60,7 @@ proc nativeToUnixPath*(path: string): string = result[0] = '/' result[1] = path[0] if path.len > 2 and path[2] != '\\': - doAssert false, "paths like `C:foo` are currently unsupported, path: " & path + raiseAssert "paths like `C:foo` are currently unsupported, path: " & path when DirSep == '\\': result = replace(result, '\\', '/') |