Updated source highlighting

This commit is contained in:
Amir Abbas Mousavian
2016-12-03 13:34:32 +03:30
parent 1328a8e9e2
commit f4e6d277ae
+2 -2
View File
@@ -138,7 +138,7 @@ func fileproviderSucceed(_ fileProvider: FileProviderOperations, operation: File
case .remove(path: let path):
print("\(path) has been deleted.")
default:
print("\(operation.actionDescription) from \(operation.source ?? "") to \(operation.destination) succeed")
print("\(operation.actionDescription) from \(operation.source!) to \(operation.destination) succeed")
}
}
@@ -149,7 +149,7 @@ func fileproviderFailed(_ fileProvider: FileProviderOperations, operation: FileO
case .remove:
print("file can't be deleted.")
default:
print("\(operation.actionDescription) from \(operation.source ?? "") to \(operation.destination) failed")
print("\(operation.actionDescription) from \(operation.source!) to \(operation.destination) failed")
}
}