-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: use the node version 20 (20.9.0 (LTS)) #312
Conversation
@@ -63,9 +63,7 @@ | |||
"test:type": "tsc --noEmit", | |||
"test:unit": "jest", | |||
"test:update": "jest --updateSnapshot", | |||
"test:watch": "yarn test:unit --watch", | |||
"build": "tsc && rm -rf ./dist/update-cc/data-cc && cp -r ./update-cc/data-cc ./dist/update-cc/data-cc", | |||
"update-cc": "npm run build && node dist/update-cc/index.js" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ce code n'est plus utilisé. On a migré sur l'admin la gestion des CC (ajout/suppression...)
@@ -29,7 +29,7 @@ const isAgreementId = id => typeof id === "string" && /^KALICONT\d{12}$/.test(id | |||
function getAgreementIdFromIdOrIdcc(agreementIdOrIdcc) { | |||
if (isAgreementIdcc(agreementIdOrIdcc)) { | |||
const idcc = Number(agreementIdOrIdcc); | |||
const matchIdcc = ({ num }) => num === idcc; | |||
const matchIdcc = ({ num }) => Number(num) === idcc; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Petit fix car avant on avait un number dans le champ num et maintenant c'est un string.
🎉 This PR is included in version 3.193.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
fix #311