Skip to content

Commit

Permalink
Restyled by prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits committed May 27, 2021
1 parent efdf47a commit 486adb9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/cml.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,10 @@ class CML {
try {
await this.runner_token();
} catch (error) {
if (error.message === 'Bad credentials')
error.message += ', REPO_TOKEN should be a personal access token'
throw error
}
if (error.message === 'Bad credentials')
error.message += ', REPO_TOKEN should be a personal access token';
throw error;
}
}

async pr_create(opts = {}) {
Expand Down

1 comment on commit 486adb9

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

Please sign in to comment.