Skip to content

Commit b4bf84c

Browse files
committed
lint
1 parent e0db979 commit b4bf84c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nationcred/src/generate-datasets.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ async function loadNationCredData() {
149149
nationCredScore1WeekAgo = nationCredScore
150150
const activeThreshold = 1.00
151151

152-
let first2Week = (nationCredScore4WeeksAgo ?? 0) + (nationCredScore3WeeksAgo ?? 0)
153-
let last2Week = (nationCredScore1WeekAgo ?? 0) + (nationCredScore2WeeksAgo ?? 0)
152+
const first2Week = (nationCredScore4WeeksAgo ?? 0) + (nationCredScore3WeeksAgo ?? 0)
153+
const last2Week = (nationCredScore1WeekAgo ?? 0) + (nationCredScore2WeeksAgo ?? 0)
154154

155155
const isActive = first2Week >= activeThreshold && last2Week >= activeThreshold
156156
console.info('isActive:', isActive)

0 commit comments

Comments
 (0)