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',