From ffc2c7bd5fddd966b1a05751a9d26e47c507da9f Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Wed, 28 Oct 2020 21:27:37 +0000 Subject: [PATCH] adding cloud check to dev check --- packages/server/src/utilities/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/server/src/utilities/index.js b/packages/server/src/utilities/index.js index e17a01b173..f162f25fb1 100644 --- a/packages/server/src/utilities/index.js +++ b/packages/server/src/utilities/index.js @@ -2,6 +2,7 @@ exports.wait = ms => new Promise(resolve => setTimeout(resolve, ms)) exports.isDev = () => { return ( + !process.env.CLOUD && process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "jest" && process.env.NODE_ENV !== "cypress"