Skip to content

Commit 39d90e4

Browse files
committed
fix(js_ruler): remove unnecessary gsub
1 parent 9dcfdd6 commit 39d90e4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/junoser/js_ruler.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,6 @@ def fix_route_filter(str)
248248
end
249249

250250
def process_comment(str)
251-
# % -> %%
252-
str.gsub! '%', '' % %''
253-
254251
# "foo": ... /* doc */, -> "foo | doc": ...,
255252
str.gsub!(%r|^(\s*)"([^"]+)": (.*) /\* (.*) \*/(,?)$|) { "#$1\"#$2 | #$4\": #$3#$5" }
256253

0 commit comments

Comments
 (0)