We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 43605af + 5fada38 commit e9b3cdbCopy full SHA for e9b3cdb
Tools/plutil/main.swift
@@ -158,7 +158,7 @@ func lint(_ options: Options) -> Int32 {
158
let data : Data?
159
if file == "-" {
160
// stdin
161
- data = FileHandle.fileHandleWithStandardInput().readDataToEndOfFile()
+ data = FileHandle.standardInput.readDataToEndOfFile()
162
} else {
163
data = try? Data(contentsOf: URL(fileURLWithPath: file))
164
}
@@ -326,7 +326,7 @@ func display(_ options: Options) -> Int32 {
326
327
328
329
330
331
332
0 commit comments