Skip to content

Commit

Permalink
Restyled by prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and 0x2b3bfa0 committed Jun 30, 2021
1 parent eddeae9 commit 496070a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 2 additions & 6 deletions src/cml.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '[email protected]';
Expand Down
8 changes: 2 additions & 6 deletions src/drivers/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 496070a

Please sign in to comment.