From a6914193b2a0ddb2d9dca61b229b7784ad224113 Mon Sep 17 00:00:00 2001 From: Ourai Lin Date: Mon, 29 Jul 2024 19:34:54 +0800 Subject: [PATCH] chore: output OS type --- .knosys/scripts/command/pmc/count.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.knosys/scripts/command/pmc/count.js b/.knosys/scripts/command/pmc/count.js index 08dac6170..4bb371611 100644 --- a/.knosys/scripts/command/pmc/count.js +++ b/.knosys/scripts/command/pmc/count.js @@ -87,6 +87,8 @@ function resolveTask({ rewardDeadline, studentRewardPatches, readingModifiedTime } function countStudents(readingModifiedTimeBy = getOsType() === 'Linux' ? 'fs' : 'git') { + console.log(`[KNOSYS_INFO] current OS is:`, getOsType()); + const MEMBER_ROOT = joinPath(repoRoot, 'members'); const taskMetadata = { ...readTaskMetadata(), readingModifiedTimeBy };