Skip to content

Commit

Permalink
revert filename comparation
Browse files Browse the repository at this point in the history
  • Loading branch information
atuchin-m committed Nov 19, 2024
1 parent e275dbb commit 1d1ce89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/seed_tools/utils/study_validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function checkName(study: Study, fileBaseName: string): string[] {

if (
study.name !== fileBaseName &&
!fileBaseName.startsWith(`${study.name}_`)
!study.name.startsWith(`${fileBaseName}_`)
) {
errors.push(
`Study name ${study.name} does not match file name (expected ${fileBaseName} or ${fileBaseName}_<something>)`,
Expand Down

0 comments on commit 1d1ce89

Please sign in to comment.