diff options
| author | Kana <[email protected]> | 2020-12-24 21:41:24 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-12-24 21:41:24 +0900 |
| commit | 2412a60bd4cb2364a477a3af79a8c6dcb6b0ddab (patch) | |
| tree | dbf2b2cad342f31849a62089dedd40165758af86 /src/setup.js | |
| parent | Enable deleting files with the API key (diff) | |
| parent | bug: fix showlist resetting itself every time the page is changed (diff) | |
| download | host.fuwn.me-2412a60bd4cb2364a477a3af79a8c6dcb6b0ddab.tar.xz host.fuwn.me-2412a60bd4cb2364a477a3af79a8c6dcb6b0ddab.zip | |
Merge pull request #228 from Zephyrrus/begone_trailing_commas
Merge own dev branch into main dev branch
Diffstat (limited to 'src/setup.js')
| -rw-r--r-- | src/setup.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/setup.js b/src/setup.js index 212dd0d..5b0ba9b 100644 --- a/src/setup.js +++ b/src/setup.js @@ -1,6 +1,8 @@ +/* eslint-disable no-console */ const randomstring = require('randomstring'); const jetpack = require('fs-jetpack'); const qoa = require('qoa'); + qoa.config({ prefix: '>', underlineQuery: false @@ -122,6 +124,7 @@ async function start() { const allSettings = Object.assign(defaultSettings, response); const keys = Object.keys(allSettings); + // eslint-disable-next-line no-restricted-syntax for (const item of keys) { envfile += `${item}=${allSettings[item]}\n`; } |