Closed

Description
Version:
coderay_bash-1.0.3
Bash:
cat $1 | while read json; do if [[ ${array2[0]} == 1 ]]; then
echo $json | ......
Error:
ActionView::Template::Error (
***ERROR in scanner.rb:200:in `rescue in tokenize': undefined method `index' for nil:NilClass (after 0 tokens)
tokens:
current line: 37 column: 48 pos: 612
matched: "${array2[0]}" state: "Error in CodeRay::Scanners::Bash#scan_tokens, initial state was: :initial"
bol? = false, eos? = false
surrounding code:
"ad json; do if [[ ${array2[0]}" ~~ " == 1 ]]; then\necho $json | aw"
Metadata
Metadata
Assignees
Labels
No labels