Skip to content
This repository was archived by the owner on Oct 17, 2021. It is now read-only.

Commit fa7eece

Browse files
committed
use same closeFile() function
1 parent ef48f1d commit fa7eece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/DOT/Graph+Rendering.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ extension Graph {
6262
}
6363

6464
inputPipe.fileHandleForWriting.write(Data(encoded.utf8))
65-
try inputPipe.fileHandleForWriting.close()
65+
inputPipe.fileHandleForWriting.closeFile()
6666

6767
task.waitUntilExit()
6868

0 commit comments

Comments
 (0)