mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
install: fix password display
This commit is contained in:
1 parent
f045154200
commit
cf78085ae8
1 file changed
+1
-1
+1
-1
@@ -389,7 +389,7 @@ connect-timeout = 10`);
|
||||
skip: () => installAsJudge,
|
||||
operations: [
|
||||
() => {
|
||||
password = require(`${process.env.HOME}/.hydro/config.json`).password;
|
||||
password = new URL(require(`${process.env.HOME}/.hydro/config.json`).uri).password || '(No password)';
|
||||
},
|
||||
() => log.info('extra.dbUser'),
|
||||
() => log.info('extra.dbPassword', password),
|
||||
|
||||
Reference in new issue
Block a user