mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-08 14:14:56 +03:00
fixes typo in error message for detecting a circular dependency in theme.ts
This commit is contained in:
parent
dc77d8f25e
commit
3dae53a130
|
@ -166,7 +166,7 @@ export function resolveTheme(theme: ThemeInterface): ResolvedThemeInterface {
|
||||||
counter++;
|
counter++;
|
||||||
if (counter > 1000) {
|
if (counter > 1000) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
`Theme probably contains cirucal dependency at ${currentPath}: ${val.toString()}`,
|
`Theme probably contains circular dependency at ${currentPath}: ${val.toString()}`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user