Added asserts.
This commit is contained in:
@@ -134,6 +134,7 @@ ApplicationPackage getApplicationPackageForPlatform(TargetPlatform platform) {
|
||||
case TargetPlatform.linux_x64:
|
||||
return null;
|
||||
}
|
||||
assert(platform != null);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@@ -99,6 +99,7 @@ TargetPlatform getTargetPlatformForName(String platform) {
|
||||
case 'linux-x64':
|
||||
return TargetPlatform.linux_x64;
|
||||
}
|
||||
assert(platform != null);
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user