From 25a8e31f4b9ac6ba7dccc51da76527a88ebf77ab Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 30 Jun 2021 23:53:31 +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 230aa2ef9..8a224ed24 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 c4d8f6cbd..5793855b5 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;