File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -823,7 +823,7 @@ class CiYaml {
823823 }).toList ();
824824 }
825825
826- static final RegExp _enabledBranchPattern = RegExp (r'^ enabled_branches:' );
826+ static final RegExp _enabledBranchPattern = RegExp (r'enabled_branches:' );
827827
828828 /// Update this .ci.yaml file with the given branch name.
829829 ///
Original file line number Diff line number Diff line change @@ -405,6 +405,8 @@ vars = {
405405 onRun: () {
406406 ciYaml.createSync (recursive: true );
407407 ciYaml.writeAsStringSync ('''
408+ # Friendly note
409+
408410enabled_branches:
409411 - master
410412 - dev
@@ -441,6 +443,8 @@ enabled_branches:
441443 expect (
442444 framework.ciYaml.stringContents,
443445 '''
446+ # Friendly note
447+
444448enabled_branches:
445449 - foo
446450 - master
You can’t perform that action at this time.
0 commit comments