From 0d12f9019750a9b372580654faeea715e8ec1a3d Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Tue, 27 Aug 2024 13:09:48 -0400 Subject: [PATCH] cli: Do not load the /latest/ schema by default --- bids-validator/src/setup/options.test.ts | 1 - bids-validator/src/setup/options.ts | 3 --- 2 files changed, 4 deletions(-) diff --git a/bids-validator/src/setup/options.test.ts b/bids-validator/src/setup/options.test.ts index 6e9ed90d7..d7ef28792 100644 --- a/bids-validator/src/setup/options.test.ts +++ b/bids-validator/src/setup/options.test.ts @@ -8,7 +8,6 @@ Deno.test('options parsing', async (t) => { datasetPath: 'my_dataset', debug: 'ERROR', json: true, - schema: 'latest', color: false, blacklistModalities: [], }) diff --git a/bids-validator/src/setup/options.ts b/bids-validator/src/setup/options.ts index cbec60557..11428e29c 100644 --- a/bids-validator/src/setup/options.ts +++ b/bids-validator/src/setup/options.ts @@ -38,9 +38,6 @@ const validateCommand = new Command() .option( '-s, --schema ', 'Specify a schema version to use for validation', - { - default: 'latest', - }, ) .option('-c, --config ', 'Path to a JSON configuration file') .option('-v, --verbose', 'Log more extensive information about issues')