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
eb695e04
Commit
eb695e04
authored
Jan 26, 2022
by
John Hope
Committed by
Brett Walker
Jan 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some linting suggestions from rubocop
parent
c3317047
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lib/tasks/gitlab/banzai.rake
lib/tasks/gitlab/banzai.rake
+4
-4
No files found.
lib/tasks/gitlab/banzai.rake
View file @
eb695e04
...
...
@@ -3,11 +3,11 @@
namespace
:gitlab
do
namespace
:banzai
do
desc
'GitLab | Banzai | Render markdown using our FullPipeline (input will be requested)'
task
:render
=>
:environment
do
|
_t
|
markdown
=
Array
.
new
task
render:
:environment
do
|
_t
|
markdown
=
[]
puts
"
\n
Enter markdown below, Ctrl-D to end (if you need blank lines, paste in the full text):"
while
buf
=
Readline
.
readline
(
''
,
true
)
do
while
buf
=
Readline
.
readline
(
''
,
true
)
markdown
<<
buf
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