Skip to content

Commit

Permalink
Merge pull request #10 from gmaxlev/v1.3
Browse files Browse the repository at this point in the history
fix: remove comment
  • Loading branch information
gmaxlev authored Jul 20, 2024
2 parents ebc06d3 + b2d311e commit 8abba01
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions src/api/strings/seed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,31 +35,5 @@ export function createSeed<
seedBuilder.add(seedModel);
}

// for (const parameter in seeds) {
// const modelValues = models.find((model) => model.key === parameter);
//
// if (!modelValues) {
// throw new Error(
// `The parameter "${parameter}" does not exist in the model`
// );
// }
//
// const values = seeds[parameter];
//
// isArray.assert(values, `seeds[${parameter}]`);
//
// values.forEach((value, index) => {
// isString.assert(value, `seeds[${parameter}][${index}]`);
//
// if (!modelValues.values.some((valueItem) => valueItem === value)) {
// throw new Error(
// `The value "${value}" does not exist in the model for the parameter "${parameter}"`
// );
// }
//
// seedBuilder.add(parameter, value);
// });
// }

return seedBuilder.getString();
}

0 comments on commit 8abba01

Please sign in to comment.