Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
VitaliyLitovskyiSecurrency committed Jul 20, 2021
1 parent 854d873 commit 6db7d65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function run(): Promise<void> {
setOutput('html_url', htmlUrl);
setOutput('created', 'true');
} catch (error) {
if (error.message && error.message.includes('A pull request already')) {
if (error.message && error.message.includes('A pull request already exists')) {
setOutput('created', 'false');
} else {
setFailed(error.message);
Expand Down

0 comments on commit 6db7d65

Please sign in to comment.