Skip to content

Commit

Permalink
fix(abap-deploy-config-inquirer ): address sonar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
longieirl committed Oct 8, 2024
1 parent 864a295 commit 55782f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ function getScpPrompt(backendTarget?: BackendTarget): Question<AbapDeployConfigA
const scpChoice = answers[abapDeployConfigInternalPromptNames.scp];
const targetChoice = answers[abapDeployConfigInternalPromptNames.targetSystem];
// scpChoice by default is true so only update state if target system is a URL
PromptState.abapDeployConfig.scp = scpChoice && targetChoice === TargetSystemType.Url ? true : false;
PromptState.abapDeployConfig.scp = scpChoice && targetChoice === TargetSystemType.Url;
return false;
},
name: abapDeployConfigInternalPromptNames.scpSetter
Expand Down

0 comments on commit 55782f8

Please sign in to comment.