Fix detecting P7Zip
from symbol.
This commit is contained in:
parent
beb6656278
commit
b00b1f5ecd
@ -71,7 +71,7 @@ module UnpackStrategy
|
||||
}.fetch(type, type)
|
||||
|
||||
begin
|
||||
const_get(type.to_s.split("_").map(&:capitalize).join)
|
||||
const_get(type.to_s.split("_").map(&:capitalize).join.gsub(/\d+[a-z]/, &:upcase))
|
||||
rescue NameError
|
||||
nil
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user