Skip to content

Commit

Permalink
refactor(CLI Onboarding): Improve debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Oct 31, 2022
1 parent ba831b8 commit 914d00b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cli/interactive-setup/index.js
Expand Up @@ -45,8 +45,8 @@ module.exports = async (context) => {
delete context.stepHistory;
delete context.inapplicabilityReasonCode;
const stepData = await step.isApplicable(context);
if (stepData) log.debug('%s: applicable: %o', stepData);
else log.debug('%s: not applicable: %s', context.inapplicabilityReasonCode);
if (stepData) log.debug('%s: applicable: %o', stepName, stepData);
else log.debug('%s: not applicable: %s', stepName, context.inapplicabilityReasonCode);
Object.assign(stepsDetails.get(stepName), {
isApplicable: Boolean(stepData),
inapplicabilityReasonCode: context.inapplicabilityReasonCode,
Expand Down

0 comments on commit 914d00b

Please sign in to comment.