diff --git a/tools/challenge-helper-scripts/helpers/insert-erms.ts b/tools/challenge-helper-scripts/helpers/insert-erms.ts index d60d6f29da2..e7009548e0c 100644 --- a/tools/challenge-helper-scripts/helpers/insert-erms.ts +++ b/tools/challenge-helper-scripts/helpers/insert-erms.ts @@ -1,9 +1,5 @@ // Update given value with markers (labels) const insertErms = (seedCode: string, erms: number[]): string => { - if (!erms || erms.length <= 1) { - throw Error('erms should be provided'); - } - if (erms.length <= 1) { throw Error('erms should contain 2 elements'); }