Skip to content

Commit ffee038

Browse files
authored
fix(schema-updater): properly write validation regex when writing schema on disk (#720)
1 parent 79eeb30 commit ffee038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/forest_liana/schema_file_updater.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def perform
149149
file.puts pretty_print({
150150
collections: @collections,
151151
meta: @meta
152-
}).gsub(/[^\\](\\)[^\\"]/) { |x| x.gsub($1, "\\\\\\") }
152+
}).gsub(/\\/, '\\\\\\\\')
153153
end
154154
end
155155
end

0 commit comments

Comments
 (0)