Skip to content

Commit 523863a

Browse files
committed
Remove unused debug function
1 parent b1c9291 commit 523863a

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Sources/FuzzyTUI/FuzzySelector.swift

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -627,16 +627,3 @@ public final class FuzzySelector<T: Selectable, E: Error, Seq> where Seq: AsyncS
627627
self.view.showStatus()
628628
}
629629
}
630-
631-
func debug(_ message: String, reset: Bool = false) {
632-
let fh = FileHandle(forUpdatingAtPath: "/tmp/swiftfzfdebug.log")!
633-
if reset {
634-
try! fh.truncate(atOffset: 0)
635-
}
636-
if message.isEmpty { return }
637-
638-
try! fh.seekToEnd()
639-
try! fh.write(contentsOf: Data(message.utf8))
640-
try! fh.write(contentsOf: Data("\n".utf8))
641-
try! fh.close()
642-
}

0 commit comments

Comments
 (0)