Skip to content

Commit 9f5d63c

Browse files
Copilotsynthable
andcommitted
fix: Make validation error formatting parameter explicit for consistency
Use explicit 'module' parameter in module-loader to match persona-loader pattern Co-authored-by: synthable <374893+synthable@users.noreply.github.com>
1 parent a76ff45 commit 9f5d63c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ums-sdk/src/loaders/module-loader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export class ModuleLoader {
121121
const validation = validateModule(parsedModule);
122122
if (!validation.valid) {
123123
throw new ModuleLoadError(
124-
`Module validation failed: ${formatValidationErrors(validation)}`,
124+
`Module validation failed: ${formatValidationErrors(validation, 'module')}`,
125125
filePath
126126
);
127127
}

0 commit comments

Comments
 (0)