From d2a140008b31428fd2c1fb911ed7c9655d061b82 Mon Sep 17 00:00:00 2001 From: Helio Machado <0x2b3bfa0+git@googlemail.com> Date: Wed, 28 Sep 2022 23:15:27 +0000 Subject: [PATCH] Fix tests, again --- src/analytics.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/analytics.js b/src/analytics.js index d44e04a14..35248c8b0 100644 --- a/src/analytics.js +++ b/src/analytics.js @@ -173,9 +173,8 @@ const jitsuEventPayload = async ({ extra: { ...extraRest, ci: guessCI(), - container: isDocker(), - container_image: - process.env._CML_CONTAINER_IMAGE === 'true' ? 'cml' : undefined + container: + process.env._CML_CONTAINER_IMAGE === 'true' ? 'cml' : isDocker() } }; } catch (err) {