From e0b1ca9ffeb4d7057f9ce0d8263495eabc429901 Mon Sep 17 00:00:00 2001 From: iotcat Date: Sun, 19 Jan 2020 15:58:10 +0000 Subject: [PATCH] Committed by cron-git from Yimian-PC --- index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 856e1f6..258ceec 100644 --- a/index.js +++ b/index.js @@ -8,7 +8,7 @@ module.exports = function(o_params){ /* factory mode */ var o = { - dir: __dirname, + dir: process.cwd(), debug: false, allowNotice: true, pull: (params, callback, err_callback) => pull(params, callback, err_callback), diff --git a/package.json b/package.json index 9cb536e..bf7b33e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cron-git", - "version": "1.0.4", + "version": "1.0.5", "description": "crontab git task", "main": "index.js", "scripts": {