lib/hrw/scanner/pipfile.rb in hrw-0.3.1 vs lib/hrw/scanner/pipfile.rb in hrw-0.3.2
- old
+ new
@@ -27,10 +27,10 @@
lock = JSON.parse(File.read(File.join(@root, @lockfile)))
lock['default'].each_pair do |name, info|
next if info['version'].nil?
deps << {
name: name,
- version: info['version']
+ version: info['version'].delete_prefix('==')
}
end
deps
end
\ No newline at end of file