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