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;