Skip to content

Commit

Permalink
Keep disabled in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vladar committed Dec 29, 2020
1 parent 384f971 commit 4db632d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/gatsby-plugin-sharp/src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const sharp = require(`./safe-sharp`)
const { generateImageData } = require(`./image-data`)
const imageSize = require(`probe-image-size`)
const { isCI } = require(`gatsby-core-utils`)

const _ = require(`lodash`)
const fs = require(`fs-extra`)
Expand Down Expand Up @@ -154,6 +155,7 @@ function createJob(job, { reporter }) {
function lazyJobsEnabled() {
return (
process.env.gatsby_executing_command === `develop` &&
!isCI() &&
!(
process.env.ENABLE_GATSBY_EXTERNAL_JOBS === `true` ||
process.env.ENABLE_GATSBY_EXTERNAL_JOBS === `1`
Expand Down

0 comments on commit 4db632d

Please sign in to comment.