We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c729af commit ca3d9d1Copy full SHA for ca3d9d1
1 file changed
server/server.js
@@ -122,7 +122,9 @@ const startServer = function (params) {
122
let npm
123
try {
124
npm = JSON.parse(stdout)
125
- } catch (error) {}
+ } catch (error) {
126
+ // ignore parse errors
127
+ }
128
return done(null, { plugin, pkg, npm })
129
})
130
}
@@ -239,7 +241,9 @@ const startServer = function (params) {
239
241
240
242
243
244
245
246
247
if (err) {
248
return res.status(400).json({ error: 'server unable to install plugin', npm, stderr })
249
} else {
0 commit comments