Skip to content

Commit

Permalink
chore: update missing in excel log text
Browse files Browse the repository at this point in the history
  • Loading branch information
ciatph committed Sep 13, 2024
1 parent 7c4253a commit 97281b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ describe('Municipalities per province count match', () => {
}

if (missingInConfig.length > 0) {
let msg = `[WARNING]: ${missingInConfig.length} province(s) in the (PAGASA seasonal) config are missing\n`
msg += `in the 10-Day Excel file: ${arrayToString(missingInConfig)}`
let msg = `[WARNING]: ${missingInConfig.length} province(s) in the (PAGASA seasonal) config is/are missing\n`
msg += `but available in the 10-Day Excel file: ${arrayToString(missingInConfig)}`
logger.log(msg, { color: ColorLog.COLORS.TEXT.YELLOW })
}
}
Expand Down
4 changes: 2 additions & 2 deletions app/__tests__/provinces/updateInstances.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ const updateInstances = ({
if (fromConfig.length > 0) {
uniqueProvinces = new Set(allProvinces.filter(item => !fromConfig.includes(item)))

let msg = `[WARNING]: ${fromConfig.length} province(s) in the (PAGASA seasonal) config are missing\n`
msg += `in the 10-Day Excel file: ${arrayToString(fromConfig)}`
let msg = `[WARNING]: ${fromConfig.length} province(s) in the (PAGASA seasonal) config is/are missing\n`
msg += `but available in the 10-Day Excel file: ${arrayToString(fromConfig)}`

logger.log(msg)
}
Expand Down

0 comments on commit 97281b3

Please sign in to comment.