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": {