dev-cmd/bottle: fix all JSON filename
This commit is contained in:
parent
8d35744581
commit
a038110115
@ -674,8 +674,8 @@ module Homebrew
|
||||
puts "Copying #{filename} to #{all_filename}" if args.verbose?
|
||||
FileUtils.cp filename.to_s, all_filename.to_s
|
||||
|
||||
puts "Writing #{filename.json}" if args.verbose?
|
||||
all_local_json_path = Pathname(filename.json)
|
||||
puts "Writing #{all_filename.json}" if args.verbose?
|
||||
all_local_json_path = Pathname(all_filename.json)
|
||||
all_local_json_path.unlink if all_local_json_path.exist?
|
||||
all_local_json_path.write(JSON.pretty_generate(all_bottle_hash))
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user