Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/adamlui/ai-web-extensions ↞…
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Jan 24, 2025
1 parent 874aca1 commit 3827fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/bump/resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
if (!/^https?$/.test(protocol)) reject(new Error('Invalid fetchData() URL.'))
require(protocol).get(url, resp => {
let rawData = ''
resp.on('data', chunk => rawData += chunk)
resp.on('data', respChunk => rawData += respChunk)
resp.on('end', () => resolve({ json: () => JSON.parse(rawData) }))
}).on('error', err => reject(new Error(err.message)))
} catch (err) { reject(new Error('Environment not supported.'))
Expand Down

0 comments on commit 3827fae

Please sign in to comment.