Skip to content

Commit

Permalink
Fix CI(benchmark) error
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry-Hong committed Aug 2, 2024
1 parent 6f60111 commit 24a0c85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/size.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ let { bold, gray } = require("../picocolors.js")

async function getJSON(url) {
return new Promise(resolve => {
get(url, res => {
get(url, { headers: {"user-agent": 'picocolors'} },res => {
let text = ""
res.on("data", chunk => {
text += chunk
Expand Down

0 comments on commit 24a0c85

Please sign in to comment.