From 056580d26de74dc57ac9ef336112e1d86112aa20 Mon Sep 17 00:00:00 2001 From: Ward Peeters Date: Thu, 2 May 2019 15:18:39 +0200 Subject: [PATCH] keep yurnalist when on ci --- packages/gatsby-cli/src/reporter/reporters/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/gatsby-cli/src/reporter/reporters/index.js b/packages/gatsby-cli/src/reporter/reporters/index.js index 31cdd44427ad4..3b897a86d7ed7 100644 --- a/packages/gatsby-cli/src/reporter/reporters/index.js +++ b/packages/gatsby-cli/src/reporter/reporters/index.js @@ -1,7 +1,7 @@ const semver = require(`semver`) +const { isCI } = require(`ci-info`) -console.trace(`loading ink =====================`) -if (semver.satisfies(process.version, `>=8`)) { +if (semver.satisfies(process.version, `>=8`) && !isCI) { module.exports = require(`./ink`).default } else { module.exports = require(`./yurnalist`)