Skip to content

fix: resolve fs imports and hard-coded path - #178

Merged
geetxnshgoyal merged 1 commit into
NST-DEVFORGE:mainfrom
saeemane05:SaeeBranch
Oct 3, 2026
Merged

geetxnshgoyal merged 1 commit into
NST-DEVFORGE:mainfrom
saeemane05:SaeeBranch

Conversation

@saeemane05

Copy link
Copy Markdown
Contributor

Fixes #36

Changes

  • Replaced require('fs') in scripts/pr-data.js with a Node.js import.
  • Removed the hard-coded /Users/sahityasingh/DevForge/ path from compute_stats.js.
  • pr-data-report.json is now resolved using the current working directory.
  • Kept the existing stats calculation logic unchanged.

Testing

  • npm run lint — passed
  • npm test — 121/121 tests passed
  • npm run build — passed
  • git diff --check — passed

Only scripts/pr-data.js and compute_stats.js were changed.

@saeemane05
saeemane05 requested a review from a team as a code owner October 1, 2026 18:50
@vercel

vercel Bot commented Oct 1, 2026

Copy link
Copy Markdown

@saeemane05 is attempting to deploy a commit to the Geetansh Goyal's projects Team on Vercel.

A member of the Team first needs to authorize it.

@geetxnshgoyal
geetxnshgoyal merged commit e847420 into NST-DEVFORGE:main Oct 3, 2026
4 of 5 checks passed
@saeemane05
saeemane05 deleted the SaeeBranch branch October 3, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix require() in pr-data.js and the hard-coded laptop path in compute_stats.js

2 participants