Skip to content

Commit 6d81489

Browse files
authored
Merge pull request #16 from andrew/dependabot/submodules/purl-spec-cc8ecf2
deps(deps): bump purl-spec from `a667658` to `cc8ecf2`
2 parents 0618240 + ac49b84 commit 6d81489

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

exe/purl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -454,12 +454,12 @@ class PurlCLI
454454
end
455455
end
456456

457-
rescue Purl::Error => e
458-
output_error("Invalid PURL: #{e.message}")
459-
exit 1
460457
rescue Purl::LookupError => e
461458
output_error("Lookup failed: #{e.message}")
462459
exit 1
460+
rescue Purl::Error => e
461+
output_error("Invalid PURL: #{e.message}")
462+
exit 1
463463
rescue StandardError => e
464464
output_error("Lookup failed: #{e.message}")
465465
exit 1

test/test_purl.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ def test_json_schema_validation
649649

650650
# Test our purl-types.json against the official purl-types schema
651651
purl_types_data = JSON.parse(File.read(File.join(project_root, "purl-types.json")))
652-
purl_types_schema = JSON.parse(File.read(File.join(schemas_dir, "purl-types-index.schema.json")))
652+
purl_types_schema = JSON.parse(File.read(File.join(schemas_dir, "purl-types-index.schema-1.1.json")))
653653

654654
# Remove $schema reference to avoid remote schema validation
655655
purl_types_schema.delete("$schema")

0 commit comments

Comments
 (0)