Skip to content

Commit 3b41769

Browse files
autofix-ci[bot]sxzz
authored andcommitted
[autofix.ci] apply automated fixes
1 parent 0d86d59 commit 3b41769

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

packages/runtime-core/src/helpers/resolveAssets.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,16 @@ function resolveAsset(
111111
return Component
112112
}
113113

114-
if (__DEV__ && warnMissing && ((!res && !isLateTag(name)) || (res && isLateTag(name)))) {
114+
if (
115+
__DEV__ &&
116+
warnMissing &&
117+
((!res && !isLateTag(name)) || (res && isLateTag(name)))
118+
) {
115119
const extra =
116-
type === COMPONENTS
117-
? `\nIf this is a native custom element, make sure to exclude it from ` +
118-
`component resolution via compilerOptions.isCustomElement.`
119-
: ``
120+
type === COMPONENTS
121+
? `\nIf this is a native custom element, make sure to exclude it from ` +
122+
`component resolution via compilerOptions.isCustomElement.`
123+
: ``
120124
warn(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`)
121125
}
122126

0 commit comments

Comments
 (0)