Skip to content

Commit

Permalink
Fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Brodbeck authored and Ross Brodbeck committed Nov 22, 2019
1 parent 6823a12 commit 5260f27
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/github/src/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ export class Context {
readFileSync(process.env.GITHUB_EVENT_PATH, {encoding: 'utf8'})
)
} else {
process.stdout.write(
`GITHUB_EVENT_PATH ${process.env.GITHUB_EVENT_PATH} does not exist${EOL}`
)
const path = process.env.GITHUB_EVENT_PATH
process.stdout.write(`GITHUB_EVENT_PATH ${path} does not exist${EOL}`)
}
}
this.eventName = process.env.GITHUB_EVENT_NAME as string
Expand Down

0 comments on commit 5260f27

Please sign in to comment.