Add buildNumber param to "flutter build aar" command (#46291)
This commit is contained in:
committed by
Flutter GitHub Bot
parent
354f80b84a
commit
418b814555
@@ -623,14 +623,14 @@ Uri parseServiceUri(String line, {
|
||||
/// Checks that the file exists, otherwise throws a [FileSystemException].
|
||||
void checkFileExists(String file) {
|
||||
if (!exists(File(file))) {
|
||||
throw FileSystemException('Expected file to exit.', file);
|
||||
throw FileSystemException('Expected file to exist.', file);
|
||||
}
|
||||
}
|
||||
|
||||
/// Checks that the file does not exists, otherwise throws a [FileSystemException].
|
||||
void checkFileNotExists(String file) {
|
||||
if (exists(File(file))) {
|
||||
throw FileSystemException('Expected file to exit.', file);
|
||||
throw FileSystemException('Expected file to not exist.', file);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user