mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-07 21:43:33 +00:00
fixup
This commit is contained in:
@@ -62,8 +62,6 @@ proc diffStrings*(a, b: string): tuple[output: string, same: bool] =
|
||||
echo diffStrings(a, b).output
|
||||
|
||||
template tmpFileImpl(prefix, str): auto =
|
||||
# pending https://github.com/nim-lang/Nim/pull/17889
|
||||
# let (fd, path) = createTempFile(prefix, "")
|
||||
let path = genTempPath(prefix, "")
|
||||
writeFile(path, str)
|
||||
path
|
||||
|
||||
Reference in New Issue
Block a user