Skip to content

Conversation

@xzuoqi
Copy link
Contributor

@xzuoqi xzuoqi commented Nov 18, 2025

close the page and browser (puppeteer)

@xzuoqi xzuoqi requested a review from RadxaYuntian as a code owner November 18, 2025 07:54
@xzuoqi xzuoqi merged commit 3e30fae into radxa-docs:main Nov 18, 2025
3 of 6 checks passed
Copy link
Contributor

@windsurf-bot windsurf-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 To request another review, post a new comment with "/windsurf-review".


// 保存到 JSON(写入 contents/static/json)
saveToJsonFile(updatedData, "static/json/baidu_tongji_data.json");
process.exit(0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding process.exit(0) at line 352 might force the script to exit before any pending asynchronous operations complete. Since Node.js will exit automatically when the event loop is empty, this explicit exit call might not be necessary and could potentially cause issues with resource cleanup or logging.

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.

1 participant