We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adf4837 commit 47c4ab7Copy full SHA for 47c4ab7
lib/bashly/extensions/array.rb
@@ -10,7 +10,7 @@ def indent(offset)
10
heredoc_marker = nil if /^#{heredoc_marker}\n?$/.match?(line)
11
line
12
else
13
- heredoc_marker = $1 if line =~ /<<-?\s*(\w[\w\d]*)/
+ heredoc_marker = $1 if line =~ /<<-?\s*(\w+)/
14
"#{indentation}#{line}"
15
end
16
0 commit comments