Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
parse_packwerk (0.26.0)
parse_packwerk (0.26.1)
bigdecimal
sorbet-runtime

Expand Down
8 changes: 7 additions & 1 deletion lib/parse_packwerk/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,13 @@ def self.excludes(config_hash)
Array(specified_exclude)
end

excludes.push Bundler.bundle_path.join('**').to_s
begin
excludes.push Bundler.bundle_path.join('**').to_s
rescue Bundler::GemfileNotFound
# Not using a Gemfile, so we can't add the bundle path.
Comment thread
martinemde marked this conversation as resolved.
Outdated
end

excludes
end

sig { params(config_hash: T::Hash[T.untyped, T.untyped]).returns(T::Array[String]) }
Expand Down
2 changes: 1 addition & 1 deletion parse_packwerk.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = 'parse_packwerk'
spec.version = '0.26.0'
spec.version = '0.26.1'
spec.authors = ['Gusto Engineers']
spec.email = ['dev@gusto.com']
spec.summary = 'A low-dependency gem for parsing and writing packwerk YML files'
Expand Down