Showing
2 changed files
with
1 additions
and
2 deletions
@@ -56,7 +56,7 @@ class Deploy { | @@ -56,7 +56,7 @@ class Deploy { | ||
56 | } | 56 | } |
57 | }).on('error', (err) => { | 57 | }).on('error', (err) => { |
58 | self._state('fail'); | 58 | self._state('fail'); |
59 | - self._log(e); | 59 | + self._log(err); |
60 | console.log(err); | 60 | console.log(err); |
61 | }).connect(serverInfo); | 61 | }).connect(serverInfo); |
62 | } | 62 | } |
@@ -60,7 +60,6 @@ const p = { | @@ -60,7 +60,6 @@ const p = { | ||
60 | }); | 60 | }); |
61 | }); | 61 | }); |
62 | let targets = await Promise.all(promises); | 62 | let targets = await Promise.all(promises); |
63 | - console.log('targets: ', targets); | ||
64 | 63 | ||
65 | await ctx.render('action/project_index', { | 64 | await ctx.render('action/project_index', { |
66 | project: project, | 65 | project: project, |
-
Please register or login to post a comment