We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0fa3d3 commit 405f3ecCopy full SHA for 405f3ec
generator/index.js
@@ -15,7 +15,7 @@ module.exports = (api, options = {}) => {
15
// If user does not have a background file it should be created
16
api.render('./templates/base', {
17
spectronSupport: options.electronBuilder.addTests,
18
- vue3: /^(\^?)3/.test(pkg?.dependencies?.vue)
+ vue3: /^(\^?)3/.test(((pkg || {}).dependencies || {}).vue)
19
})
20
}
21
// Add tests
0 commit comments