Skip to content

Commit

Permalink
🚨 Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
BetaHuhn committed Mar 18, 2021
1 parent f19c37a commit 5ac0399
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const context = {
key: 'SKIP_PR',
type: 'boolean',
default: false
}),
})
}

core.setSecret(context.GITHUB_TOKEN)
Expand Down
6 changes: 3 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const run = async () => {
await git.clone()
await git.setIdentity(client)
await git.getBaseBranch()

if (!SKIP_PR) {
await git.createPrBranch()

Expand Down Expand Up @@ -123,7 +123,7 @@ const run = async () => {
core.info('File(s) already up to date')

if (SKIP_PR) {
return;
return
}

if (existingPr) {
Expand All @@ -145,7 +145,7 @@ const run = async () => {

core.info(`Pushing changes to target repository`)
await git.push()

if (!SKIP_PR) {
// If each file was committed separately, list them in the PR description
const changedFiles = dedent(`
Expand Down

0 comments on commit 5ac0399

Please sign in to comment.