Skip to content

Commit fcc5eb6

Browse files
committed
feat: Package name to require can be specified when hooking a gem
1 parent 3f5daa8 commit fcc5eb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/appmap/config.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ def load(config_data)
343343
shallow = package['shallow']
344344
# shallow is true by default for gems
345345
shallow = true if shallow.nil?
346-
Package.build_from_gem(gem, exclude: package['exclude'] || [], shallow: shallow)
346+
Package.build_from_gem(gem, package_name: package['package'], exclude: package['exclude'] || [], shallow: shallow)
347347
else
348348
Package.build_from_path(path, exclude: package['exclude'] || [], shallow: package['shallow'])
349349
end

0 commit comments

Comments
 (0)