diff --git a/.gitignore b/.gitignore index 29ff160..f50d6f5 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,5 @@ node_modules/ dyids/ dist/ package-lock.json -./env.js -./my_config.js \ No newline at end of file +env.js +my_config.js \ No newline at end of file diff --git a/lib/data/env.js b/lib/data/env.js index 6a0bacd..e3e6771 100644 --- a/lib/data/env.js +++ b/lib/data/env.js @@ -20,7 +20,7 @@ const env = { * @returns {Object[]} */ get_multiple_account() { - this.raw_env()["multiple_account_parm"] + return this.raw_env()["multiple_account_parm"] }, setEnv(o) { process.env = { diff --git a/package.json b/package.json index 21896be..6adef49 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lottery-auto-script", - "version": "2.1.7", + "version": "2.1.8", "description": "自动参与B站动态抽奖", "main": "main.js", "scripts": {