mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-08-04 14:57:42 +00:00
🔧 chore: Drop duplicate getAppConfig import in set-balance.js (#13417)
#12669 added `const { getAppConfig } = require('~/server/services/Config');` near the top of `config/set-balance.js` but the same import already existed lower in the file, producing: config/set-balance.js 9:9 error 'getAppConfig' is already defined no-redeclare The fork's sync CI surfaced this when its pre-commit hook ran eslint on the merged file. The upstream `eslint-ci.yml` is path-filtered on `api/**`, `client/**`, and `packages/**` — none of which match `config/**`, which is why CI didn't catch it upstream. Drop the second declaration. Functionally identical, lint clean. No other changes.
This commit is contained in:
parent
e21872f5dd
commit
820bc3bf23
1 changed files with 0 additions and 1 deletions
|
|
@ -6,7 +6,6 @@ require('module-alias')({ base: path.resolve(__dirname, '..', 'api') });
|
|||
const { getAppConfig } = require('~/server/services/Config');
|
||||
const { askQuestion, silentExit } = require('./helpers');
|
||||
const connect = require('./connect');
|
||||
const { getAppConfig } = require('~/server/services/Config');
|
||||
|
||||
(async () => {
|
||||
await connect();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue