Skip to content

Commit

Permalink
Merge pull request #1301 from vadviktor/fix-yard-server
Browse files Browse the repository at this point in the history
Fixing yard server parsing checksum containing filenames with spaces.
  • Loading branch information
lsegal committed Feb 10, 2020
2 parents 872b3ac + 2714397 commit 8133049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/yard/registry_store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def load_object_types
def load_checksums
return unless File.file?(checksums_path)
lines = File.readlines(checksums_path).map do |line|
line.strip.split(/\s+/)
line.strip.rpartition(' ').tap { |p| p.delete_at(1) }
end
@checksums = Hash[lines]
end
Expand Down

0 comments on commit 8133049

Please sign in to comment.