Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 415189a

Browse filesBrowse files
author
Johan X Lindqvist
committed
docs(readme): fix README example
1 parent 441359b commit 415189a
Copy full SHA for 415189a

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ And then export an async function from your module:
298298
```javascript
299299
module.exports = async ({github, context, core}) => {
300300
const {SHA} = process.env
301-
const commit = await github.repos.getCommit({
301+
const commit = await github.rest.repos.getCommit({
302302
owner: context.repo.owner,
303303
repo: context.repo.repo,
304304
ref: `${SHA}`

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.