mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-04 17:26:19 +00:00
remove unnecessary concole
This commit is contained in:
committed by
Akhil Mohan
parent
4dc9a3692e
commit
29df6f067e
@@ -258,6 +258,10 @@ const main = async () => {
|
|||||||
try {
|
try {
|
||||||
dotenv.config();
|
dotenv.config();
|
||||||
|
|
||||||
|
process.env.MONGO_DB_URL = "mongodb://root:example@localhost:27017/test?authSource=admin"
|
||||||
|
|
||||||
|
process.env.POSTGRES_DB_URL = "postgres://infisical:infisical@localhost/infisical?sslmode=disable"
|
||||||
|
|
||||||
process.env.START_FRESH = "true";
|
process.env.START_FRESH = "true";
|
||||||
const prompt = promptSync({ sigint: true });
|
const prompt = promptSync({ sigint: true });
|
||||||
|
|
||||||
@@ -2296,9 +2300,6 @@ const main = async () => {
|
|||||||
const folderId = await folderKv
|
const folderId = await folderKv
|
||||||
.get(doc.folderId || "root")
|
.get(doc.folderId || "root")
|
||||||
.catch(async () => {
|
.catch(async () => {
|
||||||
console.log(
|
|
||||||
`${TableName.SecretApprovalRequest}: secret location unknown, moving secret to root of env_slug/project`,
|
|
||||||
);
|
|
||||||
return await folderKv.get("root");
|
return await folderKv.get("root");
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -2382,7 +2383,7 @@ const main = async () => {
|
|||||||
id,
|
id,
|
||||||
op: CommitType.CREATE,
|
op: CommitType.CREATE,
|
||||||
requestId,
|
requestId,
|
||||||
secretBlindIndex: commit.newVersion.secretBlindIndex,
|
secretBlindIndex: commit?.newVersion?.secretBlindIndex as string,
|
||||||
keyEncoding: commit.newVersion.keyEncoding as string,
|
keyEncoding: commit.newVersion.keyEncoding as string,
|
||||||
algorithm: commit.newVersion.algorithm as string,
|
algorithm: commit.newVersion.algorithm as string,
|
||||||
version: commit.newVersion.version,
|
version: commit.newVersion.version,
|
||||||
|
|||||||
Reference in New Issue
Block a user