From 2b883a0b886a1aa290e363d8cf5972ad209bac50 Mon Sep 17 00:00:00 2001 From: Ganapathi Diddi Date: Sun, 7 Apr 2024 00:18:20 +0530 Subject: [PATCH] Fixing lint errors --- .../05.multi-turn-prompt/dialogs/userProfileDialog.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/samples/javascript_nodejs/05.multi-turn-prompt/dialogs/userProfileDialog.js b/samples/javascript_nodejs/05.multi-turn-prompt/dialogs/userProfileDialog.js index cd352fd9e7..a0905612c1 100644 --- a/samples/javascript_nodejs/05.multi-turn-prompt/dialogs/userProfileDialog.js +++ b/samples/javascript_nodejs/05.multi-turn-prompt/dialogs/userProfileDialog.js @@ -131,8 +131,7 @@ class UserProfileDialog extends ComponentDialog { let msg = 'Thanks.'; if (step.result) { msg += ' Your profile saved successfully.'; - } - else{ + } else { msg += ' Your profile will not be kept.'; } @@ -144,7 +143,7 @@ class UserProfileDialog extends ComponentDialog { async summaryStep(step) { step.values.picture = step.result && step.result[0]; - + // Get the current profile object from user state. const userProfile = await this.userProfile.get(step.context, new UserProfile());