Skip to content

Commit

Permalink
🐛 Remove unnessary arg
Browse files Browse the repository at this point in the history
  • Loading branch information
evans-g-crsj committed Mar 26, 2024
1 parent 0e2cc6d commit a9f4fff
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions admin/checkAliasWithRelease.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ import { Client } from '@elastic/elasticsearch';
import { esHost } from '../dist/src/env.js';
import assert from 'node:assert/strict';

const args = process.argv.slice(2);
const releaseArgument = args.find(a => a.startsWith('--release:')) ?? '';
const release = releaseArgument.split('--release:')[1];
assert(!!release, 'Missing release value');

const cbKeepClinicalIndicesOnly = x =>
['file', 'biospecimen', 'participant', 'study'].some(stem => x.index.includes(stem));

Expand Down

0 comments on commit a9f4fff

Please sign in to comment.