fixes typo in error message for detecting a circular dependency in theme.ts

This commit is contained in:
Patrick Rodacker 2019-03-17 19:41:16 +01:00
parent dc77d8f25e
commit 3dae53a130

View File

@ -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()}`,
); );
} }