From f8da12efaf1976dbc1780972dfce7f47199a55a3 Mon Sep 17 00:00:00 2001 From: iotcat Date: Sun, 19 Jan 2020 15:40:10 +0000 Subject: [PATCH] Committed by cron-git from Yimian-PC --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 22ea2fc..3bbb1e4 100644 --- a/index.js +++ b/index.js @@ -34,7 +34,7 @@ module.exports = function(o_params){ branch: 'master' }, add: { - path: './*' + path: o.dir }, commit: { message: "Committed by cron-git from "+ require('os').hostname() @@ -80,7 +80,7 @@ module.exports = function(o_params){ var push = function(params_user, callback){ var params = { add: { - path: './*' + path: o.dir }, commit: { message: "Committed by cron-git from "+ require('os').hostname()