We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0530f4 commit 2b5b78dCopy full SHA for 2b5b78d
1 file changed
packages/@weex/plugins/debug/commands/debug.js
@@ -108,12 +108,12 @@ module.exports = {
108
config: options.config || options.c
109
},
110
async (error, output, json) => {
111
+ let bundles = []
112
if (error) {
113
await analyzer('compile', Array.isArray(error)?error.join('\n'):error)
- return
114
}
115
else {
116
- let bundles = json.assets.map(asset => {
+ bundles = json.assets.map(asset => {
117
let entry
118
let date = new Date()
119
const formateTime = (value) => {
@@ -132,8 +132,8 @@ module.exports = {
132
entry: entry
133
134
})
135
- await api.startDevtoolServer(bundles, devtoolOptions)
136
+ await api.startDevtoolServer(bundles, devtoolOptions)
137
138
)
139
} else {
0 commit comments