This commit is contained in:
Christopher Fujino 2021-08-26 15:06:02 -07:00 committed by GitHub
parent 6782c30710
commit 7c915fe29c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -823,7 +823,7 @@ class CiYaml {
}).toList();
}
static final RegExp _enabledBranchPattern = RegExp(r'^enabled_branches:');
static final RegExp _enabledBranchPattern = RegExp(r'enabled_branches:');
/// Update this .ci.yaml file with the given branch name.
///

View File

@ -405,6 +405,8 @@ vars = {
onRun: () {
ciYaml.createSync(recursive: true);
ciYaml.writeAsStringSync('''
# Friendly note
enabled_branches:
- master
- dev
@ -441,6 +443,8 @@ enabled_branches:
expect(
framework.ciYaml.stringContents,
'''
# Friendly note
enabled_branches:
- foo
- master