Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
7c915fe2
Unverified
Commit
7c915fe2
authored
Aug 26, 2021
by
Christopher Fujino
Committed by
GitHub
Aug 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix regex (#88976)
parent
6782c307
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
repository.dart
dev/conductor/lib/repository.dart
+1
-1
repository_test.dart
dev/conductor/test/repository_test.dart
+4
-0
No files found.
dev/conductor/lib/repository.dart
View file @
7c915fe2
...
...
@@ -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.
///
...
...
dev/conductor/test/repository_test.dart
View file @
7c915fe2
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment