audit: cosmetic changes

This commit is contained in:
lionellloh 2020-06-17 22:55:02 +08:00
parent 0b95f030fd
commit 2b66968505

View File

@ -97,9 +97,7 @@ module Homebrew
describe "#audit_license" do describe "#audit_license" do
let(:spdx_ids) { let(:spdx_ids) {
# full_path = File.join(File.expand_path(File.dirname(__FILE__) + "../../../data/"), "spdx.json")
full_path = File.join(File.dirname(__FILE__), "../../data/spdx.json") full_path = File.join(File.dirname(__FILE__), "../../data/spdx.json")
p full_path
File.open(full_path, "r") do |f| File.open(full_path, "r") do |f|
JSON.parse(f.read) JSON.parse(f.read)
end end