lib/spandx/gateways/nuget.rb in spandx-0.4.0 vs lib/spandx/gateways/nuget.rb in spandx-0.4.1
- old
+ new
@@ -103,10 +103,10 @@
def upsert_into!(index, spec)
key = [host, spec['id'], spec['version']]
return if index.indexed?(key)
if (license = spec['licenseExpression'])
- index.write(key, [license])
+ index.write(key, license)
end
puts [license, key].inspect
end
end
end