diff --git a/benchmarks/size.js b/benchmarks/size.js index 60c4f35..4bad37e 100755 --- a/benchmarks/size.js +++ b/benchmarks/size.js @@ -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