From 746701f833cdb09690047adb2ae009ca0b9eeda3 Mon Sep 17 00:00:00 2001 From: Barrior Date: Mon, 21 Oct 2019 19:49:44 +0800 Subject: [PATCH] chore: reword key name --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 8d04307..7e51a05 100644 --- a/src/index.ts +++ b/src/index.ts @@ -87,8 +87,8 @@ class ModifiedAt { for (const pathname in customList) { if (customList.hasOwnProperty(pathname)) { - const truly = await customList[pathname](params.doc) - if (truly) { + const truthy = await customList[pathname](params.doc) + if (truthy) { updateTime = new Date() updatePaths.push(pathname) }