From 2b4065466ccb17e3f11f7a41e1dfbe5922920fb5 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Fri, 6 Sep 2019 19:43:34 -0500 Subject: [PATCH] Fix lint --- lib/dhall/parser.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dhall/parser.rb b/lib/dhall/parser.rb index d0d546e..59e90b2 100644 --- a/lib/dhall/parser.rb +++ b/lib/dhall/parser.rb @@ -314,9 +314,9 @@ module Dhall module SingleQuoteLiteral def value - chunks = capture(:single_quote_continue).value.flat_map { |chunk| + chunks = capture(:single_quote_continue).value.flat_map do |chunk| chunk.is_a?(String) ? chunk.chars : chunk - } + end indent = Util.indent_size(chunks.join) TextLiteral.for( -- 2.38.5