Skip to content

Commit a79c06b

Browse files
author
David Heinemeier Hansson
committed
Style
1 parent 9545af1 commit a79c06b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/importmap/packager.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def save_vendored_package(package, source)
116116
end
117117

118118
def remove_sourcemap_comment_from(source)
119-
source.gsub(%r|^\/\/# sourceMappingURL=.*|, "")
119+
source.gsub(/^\/\/# sourceMappingURL=.*/, "")
120120
end
121121

122122
def vendored_package_path(package)

0 commit comments

Comments
 (0)