From 47b1a8dc8695dbc085f4081a6d6981c5abd385e0 Mon Sep 17 00:00:00 2001 From: Vlad Date: Thu, 19 May 2022 22:50:54 +0300 Subject: [PATCH] fix(computeDifferences): switch expected and original around for missing choice --- src/lib/utils/application-commands/computeDifferences.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/utils/application-commands/computeDifferences.ts b/src/lib/utils/application-commands/computeDifferences.ts index 671ce1271..7c6b603ec 100644 --- a/src/lib/utils/application-commands/computeDifferences.ts +++ b/src/lib/utils/application-commands/computeDifferences.ts @@ -544,8 +544,8 @@ function* reportOptionDifferences({ if (existingChoice === undefined) { yield { key: `${keyPath(currentIndex)}.choices[${currentChoiceIndex}]`, - expected: 'no choice present', - original: 'choice present' + original: 'no choice present', + expected: 'choice present' }; } else { if (choice.name !== existingChoice.name) {