Skip to content

Commit

Permalink
fix(computeDifferences): switch expected and original around for miss…
Browse files Browse the repository at this point in the history
…ing choice
  • Loading branch information
vladfrangu committed May 19, 2022
1 parent 1f76366 commit 47b1a8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/utils/application-commands/computeDifferences.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 47b1a8d

Please sign in to comment.