Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #523 from microsoft/pak/fix_typo
Browse files Browse the repository at this point in the history
fix: correct typo of condition enum and update package version of cl-models
  • Loading branch information
msft-paulkim authored Dec 11, 2019
2 parents 6af1f3a + 17313ce commit 96fb119
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"license": "MIT",
"dependencies": {
"@azure/cosmos": "^3.3.6",
"@conversationlearner/models": "0.218.0",
"@conversationlearner/models": "0.219.0",
"@conversationlearner/ui": "0.413.7",
"@types/supertest": "2.0.4",
"async-file": "^2.0.2",
Expand Down Expand Up @@ -115,4 +115,4 @@
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}
}
2 changes: 1 addition & 1 deletion src/Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ const isValueConditionTrue = (
|| (condition.condition === CLM.ConditionType.GREATER_THAN && numberValue > condition.value)
|| (condition.condition === CLM.ConditionType.GREATER_THAN_OR_EQUAL && numberValue >= condition.value)
|| (condition.condition === CLM.ConditionType.LESS_THAN && numberValue < condition.value)
|| (condition.condition === CLM.ConditionType.LESS_THEN_OR_EQUAL && numberValue <= condition.value)
|| (condition.condition === CLM.ConditionType.LESS_THAN_OR_EQUAL && numberValue <= condition.value)
}

const findNumberFromFilledEntity = (filledEntity: CLM.FilledEntity, isMultivalue: boolean): number | undefined => {
Expand Down

0 comments on commit 96fb119

Please sign in to comment.