Fixed Warning typo in printError

This commit is contained in:
Ross Goldberg 2021-01-17 05:30:23 -05:00
parent 7d90e9e492
commit f2a069d670

View file

@ -33,7 +33,7 @@ func printWarning(_ message: String) {
public func printError(_ message: String) { public func printError(_ message: String) {
guard isatty(fileno(stdout)) != 0 else { guard isatty(fileno(stdout)) != 0 else {
print("Warning: \(message)") print("Error: \(message)")
return return
} }