From 496070a9e142b5c91c854eb02ec3fbc6dc60cea8 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 30 Jun 2021 20:07:33 +0000 Subject: [PATCH] Restyled by prettier --- src/cml.js | 8 ++------ src/drivers/github.js | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/cml.js b/src/cml.js index 230aa2ef9f..8a224ed247 100644 --- a/src/cml.js +++ b/src/cml.js @@ -9,12 +9,8 @@ const Github = require('./drivers/github'); const BitBucketCloud = require('./drivers/bitbucket_cloud'); const { upload, exec, watermarkUri } = require('./utils'); -const { - GITHUB_REPOSITORY, - CI_PROJECT_URL, - BITBUCKET_REPO_UUID, - CI -} = process.env; +const { GITHUB_REPOSITORY, CI_PROJECT_URL, BITBUCKET_REPO_UUID, CI } = + process.env; const GIT_USER_NAME = 'Olivaw[bot]'; const GIT_USER_EMAIL = 'olivaw@iterative.ai'; diff --git a/src/drivers/github.js b/src/drivers/github.js index c4d8f6cbdf..5793855b55 100644 --- a/src/drivers/github.js +++ b/src/drivers/github.js @@ -11,12 +11,8 @@ const { download, exec } = require('../utils'); const CHECK_TITLE = 'CML Report'; process.env.RUNNER_ALLOW_RUNASROOT = 1; -const { - GITHUB_REPOSITORY, - GITHUB_SHA, - GITHUB_REF, - GITHUB_EVENT_NAME -} = process.env; +const { GITHUB_REPOSITORY, GITHUB_SHA, GITHUB_REF, GITHUB_EVENT_NAME } = + process.env; const branchName = (branch) => { if (!branch) return;