We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bdf5d7 commit 5ec49beCopy full SHA for 5ec49be
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