mirror of
https://github.com/maxgoedjen/secretive.git
synced 2026-11-07 11:35:59 +01:00
Throw restrict
This commit is contained in:
1 file changed
+1
-1
@@ -33,7 +33,7 @@ final class OpenSSHReader {
|
||||
}
|
||||
|
||||
|
||||
func readNextChunkAsString() throws -> String {
|
||||
func readNextChunkAsString() throws(OpenSSHReaderError) -> String {
|
||||
try String(decoding: readNextChunk(), as: UTF8.self)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user