From 2c6265f74a6a0f2c344541fe38f65b6130274a94 Mon Sep 17 00:00:00 2001 From: ElenaDiachenko Date: Mon, 12 Feb 2024 12:44:55 +0200 Subject: [PATCH] remove_question_when_run_decrypt_for_the_first_time --- packages/engine-core/src/tasks/task.rnv.crypto.decrypt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/engine-core/src/tasks/task.rnv.crypto.decrypt.ts b/packages/engine-core/src/tasks/task.rnv.crypto.decrypt.ts index f7e49feaf3..c2260c4f9f 100644 --- a/packages/engine-core/src/tasks/task.rnv.crypto.decrypt.ts +++ b/packages/engine-core/src/tasks/task.rnv.crypto.decrypt.ts @@ -73,7 +73,7 @@ export const taskRnvCryptoDecrypt: RnvTaskFn = async (c, parentTask, originTask) const wsPath = path.join(c.paths.workspace.dir, projectName); const isCryptoReset = c.command === 'crypto' && c.program.reset === true; - if (c.program.ci !== true && !isCryptoReset) { + if (c.program.ci !== true && !isCryptoReset && fsExistsSync(destFolder)) { const options = ['Yes - override (recommended)', 'Yes - merge', 'Skip']; const { option } = await inquirerPrompt({ name: 'option',