Skip to content

Commit 38711aa

Browse files
committed
fix(codemod): revert aggressive multi-line field handler (caused 25 regressions)
1 parent ae72804 commit 38711aa

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

exe/codemod-imp-to-isc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,8 @@ module Interscript
309309
text = @scanner.scan(/[^\n]+/).to_s
310310
@out << " " + text
311311
end
312-
elsif @scanner.scan(/(?:\A|\n)([ \t]+)([A-Za-z_][\w]*)[ \t]*:[ \t]*\n[ \t]+"/)
313-
# Generic field with multi-line quoted value
314-
indent = @scanner[1]
312+
# Generic field with multi-line quoted value
313+
indent = @scanner[1]
315314
field = @scanner[2]
316315
@out << "\n#{indent}#{field} \""
317316
until @scanner.eos?

0 commit comments

Comments
 (0)