Skip to content

Commit

Permalink
Update classpath_spec.rb to remove color directives from output
Browse files Browse the repository at this point in the history
  • Loading branch information
mkristian authored Nov 30, 2024
1 parent 2739c96 commit e35accc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion specs/classpath_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ def self.prepare!(array)
org/jruby/yecht/yecht.jar
]
result = array.collect do |a|
a.sub(/-native.jar$/, '.jar')
a.sub(/\.jar.*$/, '.jar')
.sub(/-native.jar$/, '.jar')
.sub(/-[^-]+$/, '.jar')
.sub(%r{[^/]+/([^/]+)$}, '\1')
.sub(/^.*META-INF.jruby.home.lib.ruby.s....../, '')
Expand Down

0 comments on commit e35accc

Please sign in to comment.