Skip to content

Commit

Permalink
chore: output OS type
Browse files Browse the repository at this point in the history
  • Loading branch information
ourai committed Jul 29, 2024
1 parent a219dac commit a691419
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .knosys/scripts/command/pmc/count.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 };

Expand Down

0 comments on commit a691419

Please sign in to comment.