Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
eb0f2b38
Commit
eb0f2b38
authored
Oct 29, 2019
by
Matija Čupić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add explicit flatten level
parent
dd6b4682
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
changelogs/unreleased/mc-feature-flatten-ci-scripts.yml
changelogs/unreleased/mc-feature-flatten-ci-scripts.yml
+1
-1
lib/gitlab/ci/config/entry/commands.rb
lib/gitlab/ci/config/entry/commands.rb
+1
-1
lib/gitlab/ci/config/entry/script.rb
lib/gitlab/ci/config/entry/script.rb
+1
-1
No files found.
changelogs/unreleased/mc-feature-flatten-ci-scripts.yml
View file @
eb0f2b38
---
title
:
Add support for YAML a
cn
hors in CI scripts.
title
:
Add support for YAML a
nc
hors in CI scripts.
merge_request
:
18849
author
:
type
:
changed
lib/gitlab/ci/config/entry/commands.rb
View file @
eb0f2b38
...
...
@@ -15,7 +15,7 @@ module Gitlab
end
def
value
Array
(
@config
).
flatten
Array
(
@config
).
flatten
(
1
)
end
end
end
...
...
lib/gitlab/ci/config/entry/script.rb
View file @
eb0f2b38
...
...
@@ -15,7 +15,7 @@ module Gitlab
end
def
value
config
.
flatten
config
.
flatten
(
1
)
end
end
end
...
...
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