Skip to content

Commit 04857e0

Browse files
committed
Fix ls-files matching regexp
See rubygems/rubygems@8a81183.
1 parent 35f0fd6 commit 04857e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io-wait.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
1414
spec.metadata["source_code_uri"] = spec.homepage
1515

1616
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
17-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
1818
end
1919
spec.bindir = "exe"
2020
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }

0 commit comments

Comments
 (0)