Skip to content

Commit d4de55f

Browse files
autofix-ci[bot]sxzz
authored andcommitted
[autofix.ci] apply automated fixes
1 parent a786f7c commit d4de55f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
} from '../component'
77
import { currentRenderingInstance } from '../componentRenderContext'
88
import { Directive } from '../directives'
9-
import {camelize, capitalize, isLateTag, isString} from '@vue/shared'
9+
import { camelize, capitalize, isLateTag, isString } from '@vue/shared'
1010
import { warn } from '../warning'
1111
import { VNodeTypes } from '../vnode'
1212

@@ -113,15 +113,15 @@ function resolveAsset(
113113
}
114114

115115
if (__DEV__ && warnMissing) {
116-
const isResEmpty = !res;
117-
const isNameLateTag = isLateTag(name);
116+
const isResEmpty = !res
117+
const isNameLateTag = isLateTag(name)
118118

119119
if ((isResEmpty && !isNameLateTag) || (!isResEmpty && isNameLateTag)) {
120120
const extra =
121-
type === COMPONENTS
122-
? `\nIf this is a native custom element, make sure to exclude it from ` +
123-
`component resolution via compilerOptions.isCustomElement.`
124-
: ``
121+
type === COMPONENTS
122+
? `\nIf this is a native custom element, make sure to exclude it from ` +
123+
`component resolution via compilerOptions.isCustomElement.`
124+
: ``
125125
warn(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`)
126126
}
127127
}

0 commit comments

Comments
 (0)