We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56f84e7 commit a151881Copy full SHA for a151881
lib/importmap/npm.rb
@@ -147,7 +147,7 @@ def vendored_packages_without_version(packages_with_versions)
147
end
148
149
def find_unversioned_vendored_package(line, versioned_packages)
150
- regexp = line.include?("to:")? /#{PIN_REGEX}to: ["']([^["']]*)["'].*/ : PIN_REGEX
+ regexp = line.include?("to:")? /#{PIN_REGEX}to: ["']([^"']*)["'].*/ : PIN_REGEX
151
match = line.match(regexp)
152
153
return unless match
0 commit comments