Skip to content

Commit

Permalink
Fixed logLevel filter bug so that filter now works as expected (#35777)
Browse files Browse the repository at this point in the history
  • Loading branch information
tvolkert committed Jul 9, 2019
1 parent 2e54093 commit b712a17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/internal/engine.version
@@ -1 +1 @@
b1cb0d9e9b44393efeb735f664672a74732cdc8b
54ad777fd29b031b87c7a68a6637fb48c0932862
4 changes: 2 additions & 2 deletions dev/bots/test.dart
Expand Up @@ -787,10 +787,10 @@ Future<void> _verifyVersion(String filename) async {
print('$redLine');
exit(1);
}
final RegExp pattern = RegExp(r'^\d+\.\d+\.\d+(?:|-pre\.\d+|\+hotfix\.\d+)$');
final RegExp pattern = RegExp(r'^\d+\.\d+\.\d+(?:|-pre\.\d+|\+hotfix\.\d+(-pre\.\d+)?)$');
if (!version.contains(pattern)) {
print('$redLine');
print('The version logic generated an invalid version string.');
print('The version logic generated an invalid version string ($version).');
print('$redLine');
exit(1);
}
Expand Down

0 comments on commit b712a17

Please sign in to comment.