Skip to content

Commit

Permalink
Merge pull request #1390 from flexn-io/fix/remove_question_when_run_d…
Browse files Browse the repository at this point in the history
…ecrypt_for_the_first_time

remove_question_when_run_decrypt_for_the_first_time
  • Loading branch information
mihaiblaga89 authored Feb 13, 2024
2 parents 392003e + 2c6265f commit 2f6f2cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/engine-core/src/tasks/task.rnv.crypto.decrypt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 2f6f2cb

Please sign in to comment.