diff options
Diffstat (limited to 'dispatch-adapter-copilot.gemspec')
| -rw-r--r-- | dispatch-adapter-copilot.gemspec | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dispatch-adapter-copilot.gemspec b/dispatch-adapter-copilot.gemspec index 4dbdb1e..2ecf345 100644 --- a/dispatch-adapter-copilot.gemspec +++ b/dispatch-adapter-copilot.gemspec @@ -25,7 +25,8 @@ Gem::Specification.new do |spec| (f == gemspec) || f.start_with?(*%w[bin/ Gemfile .gitignore .rspec spec/ .rubocop.yml]) end - end.select { |f| File.exist?(File.join(__dir__, f)) } + end + spec.files.select! { |f| File.exist?(File.join(__dir__, f)) } spec.bindir = "exe" spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] |
