Skip to content

Commit

Permalink
fix: check install.values, it can be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Dec 20, 2024
1 parent 18904bb commit 9bb8002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ async function completeConfigSetup(config) {
config.package_manager = nconf.get('package_manager');
}

if (install.values.hasOwnProperty('saas_plan')) {
if (install.values && install.values.hasOwnProperty('saas_plan')) {
config.saas_plan = install.values.saas_plan;
}

Expand Down

0 comments on commit 9bb8002

Please sign in to comment.