Skip to content

Commit

Permalink
requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
crysmags committed May 9, 2024
1 parent 078afb1 commit b9dc1ff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/web/fetch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ const { dataURLProcessor, serializeAMimeType, minimizeSupportedMimeType } = requ
const { getGlobalDispatcher } = require('../../global')
const { webidl } = require('./webidl')
const { STATUS_CODES } = require('node:http')
const { resourceLimits } = require('node:worker_threads')
const GET_OR_HEAD = ['GET', 'HEAD']

const defaultUserAgent = typeof __UNDICI_IS_NODE__ !== 'undefined' || typeof esbuildDetection !== 'undefined'
Expand Down Expand Up @@ -175,7 +174,7 @@ function createInstrumentedDeferredPromise (context) {
res = function (result) {
context.result = result
channels.asyncStart.runStores(context, () => {
resolve(resourceLimits)
resolve(result)
channels.asyncEnd.publish(context)
})
}
Expand Down

0 comments on commit b9dc1ff

Please sign in to comment.