Add buildNumber param to "flutter build aar" command (#46291)

This commit is contained in:
Sean Freiburg
2019-12-12 10:28:01 -08:00
committed by Flutter GitHub Bot
parent 354f80b84a
commit 418b814555
7 changed files with 49 additions and 17 deletions

View File

@@ -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);
}
}