install: fix

This commit is contained in:
undefined committed 2023-02-10 22:34:34 +08:00
1 parent 1e1280c47b
commit 0200c7b168
1 file changed
+1 -1
+1 -1
View File
@@ -331,7 +331,7 @@ connect-timeout = 10`);
pwd: password,
roles: [{ role: 'readWrite', db: 'hydro' }],
})})`),
[`mongo 127.0.0.1:27017/hydro ${tmpFile}`, { retry: true }],
[`mongosh 127.0.0.1:27017/hydro ${tmpFile}`, { retry: true }],
() => writeFileSync(`${process.env.HOME}/.hydro/config.json`, JSON.stringify({
uri: `mongodb://hydro:${password}@127.0.0.1:27017/hydro`,
})),