Closed effigies closed 3 months ago
Attention: Patch coverage is 22.22222%
with 14 lines
in your changes missing coverage. Please review.
Project coverage is 87.58%. Comparing base (
b087c35
) to head (0d12f90
). Report is 3 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
bids-validator/src/setup/loadSchema.ts | 22.22% | 14 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@nellh Just pushed a commit to remove a default value from the --schema
CLI flag, squeezed in after your review.
The current version emits a more-or-less obligatory error due to the use of
import
with an https URL. That seems like a thing of Deno past.Given that we're hosting the schema at the JSR, let's go ahead and default to that. If someone wants to provide a URL, then a fetch can be done and the JSON can be loaded. This means BIDS_SCHEMA pointing to local files will need to use
file:///...
, but that seems fine.