We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f49282d commit 8a9cc12Copy full SHA for 8a9cc12
packages/plugin-vue/src/utils/descriptorCache.ts
@@ -58,7 +58,7 @@ export function getDescriptor(
58
fs.readFileSync(filename, 'utf-8'),
59
options
60
)
61
- if (errors) {
+ if (errors.length) {
62
throw errors[0]
63
}
64
return descriptor
0 commit comments