We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 757b902 commit 1d77288Copy full SHA for 1d77288
lib/bindata/registry.rb
@@ -64,7 +64,7 @@ def normalize_name(name, hints)
64
name = underscore_name(name)
65
66
if !registered?(name)
67
- search_prefix = [""].concat(Array(hints[:search_prefix]))
+ search_prefix = [""] + Array(hints[:search_prefix])
68
search_prefix.each do |prefix|
69
nwp = name_with_prefix(name, prefix)
70
if registered?(nwp)
0 commit comments