Skip to content

Commit

Permalink
fix issue when selecting none then azure or custom
Browse files Browse the repository at this point in the history
  • Loading branch information
Mo Mesgin authored and Mo Mesgin committed Aug 7, 2024
1 parent 5179626 commit b5c48ef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/shared/addon/components/cru-cloud-provider/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,11 @@ export default Component.extend({
set(configAnswersOut, answer.key, answer.value);
});

// Avoid setting cloud provider specific configs if its path doesn't exist
if (!this.pathForSet) {
return;
}

set(this, pathForSet, configAnswersOut);
}),

Expand Down

0 comments on commit b5c48ef

Please sign in to comment.