diff --git a/bin/sync.js b/bin/sync.js index 560601f4..3836cf60 100644 --- a/bin/sync.js +++ b/bin/sync.js @@ -7,7 +7,7 @@ const saveApps = app => { return axios.post("http://192.168.1.87:12525/node/wechatapps/addOrUpdate", app, {timeout: 1000}).then(res => { if (res.data.code == 0) chalkTag.done("产品库目录已同步至后台数据库...") }).catch(err => { - console.log(err) + chalkTag.error(err) }) } }