diff --git a/packages/gatsby/src/bootstrap/index.js b/packages/gatsby/src/bootstrap/index.js index 471cf5acc7569..95d075a45936c 100644 --- a/packages/gatsby/src/bootstrap/index.js +++ b/packages/gatsby/src/bootstrap/index.js @@ -21,8 +21,6 @@ const getConfigFile = require(`./get-config-file`) const tracer = require(`opentracing`).globalTracer() const preferDefault = require(`./prefer-default`) const removeStaleJobs = require(`./remove-stale-jobs`) -// Add `util.promisify` polyfill for old node versions -require(`util.promisify/shim`)() // Show stack trace on unhandled promises. process.on(`unhandledRejection`, (reason, p) => {