mirror of
https://github.com/mas-cli/mas
synced 2025-02-16 12:38:30 +00:00
Convert some missing output to printInfo
This commit is contained in:
parent
ce51cea8c6
commit
6600fe54a6
2 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ struct ResetCommand: CommandProtocol {
|
|||
|
||||
if kill.terminationStatus != 0 && options.debug {
|
||||
let output = stderr.fileHandleForReading.readDataToEndOfFile()
|
||||
print("==> killall failed:\r\n\(String(data: output, encoding: String.Encoding.utf8)!)")
|
||||
printInfo("killall failed:\r\n\(String(data: output, encoding: String.Encoding.utf8)!)")
|
||||
}
|
||||
|
||||
// Wipe Download Directory
|
||||
|
@ -63,7 +63,7 @@ struct ResetCommand: CommandProtocol {
|
|||
try FileManager.default.removeItem(atPath: directory!)
|
||||
} catch {
|
||||
if options.debug {
|
||||
print("removeItemAtPath:\"\(directory)\" failed, \(error)")
|
||||
printError("removeItemAtPath:\"\(directory)\" failed, \(error)")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ struct SignInCommand: CommandProtocol {
|
|||
}
|
||||
|
||||
do {
|
||||
print("==> Signing in to Apple ID: \(options.username)")
|
||||
printInfo("Signing in to Apple ID: \(options.username)")
|
||||
|
||||
let password: String = {
|
||||
if options.password == "" && !options.dialog {
|
||||
|
|
Loading…
Add table
Reference in a new issue