Remove unnecessary null checks in dev/devicelab (#118842)
This commit is contained in:
committed by
GitHub
parent
f291eb3495
commit
ab3c82244e
@@ -19,7 +19,7 @@ class DeviceException implements Exception {
|
||||
final String message;
|
||||
|
||||
@override
|
||||
String toString() => message == null ? '$DeviceException' : '$DeviceException: $message';
|
||||
String toString() => '$DeviceException: $message';
|
||||
}
|
||||
|
||||
/// Gets the artifact path relative to the current directory.
|
||||
|
||||
Reference in New Issue
Block a user