diff --git a/index.js b/index.js index f424535..6e243d5 100644 --- a/index.js +++ b/index.js @@ -10,9 +10,9 @@ const git = require('simple-git')(); */ -git.pull('origin', 'master', {'--no-rebase': null}); +git.pull('origin', 'master', {'--no-rebase': null}, ()=>{console.log('pull')}); git.add('./*') .commit("Committed by cron-git auto") - .push(['-u', 'origin', 'master'], (s) => console.log(s+'git push done!!')); \ No newline at end of file + .push(['-u', 'origin', 'master'], () => console.log('git push done!!')); \ No newline at end of file