mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 01:54:08 +03:00
chore: fixes typo in error message for detecting a circular dependency in theme.ts (#852)
This commit is contained in:
parent
dc77d8f25e
commit
2f65f051e0
|
@ -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