Showing
1 changed file
with
1 additions
and
2 deletions
@@ -55,12 +55,11 @@ function cli(req,res) { | @@ -55,12 +55,11 @@ function cli(req,res) { | ||
55 | if(err) { | 55 | if(err) { |
56 | console.log(err); | 56 | console.log(err); |
57 | console.log(outerr); | 57 | console.log(outerr); |
58 | - res.json({"code":500,"message": err.message}); | ||
59 | } else { | 58 | } else { |
60 | console.log(out); | 59 | console.log(out); |
61 | - res.json({"code":200,"message":"done!"}); | ||
62 | } | 60 | } |
63 | }); | 61 | }); |
62 | + res.json({"code":200,"message":"doing!"}); | ||
64 | } | 63 | } |
65 | 64 | ||
66 | module.exports = router; | 65 | module.exports = router; |
-
Please register or login to post a comment