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 eb58336

Browse filesBrowse files
authored
Merge pull request actions#86 from actions/fix-readme-args-example
Fix example function arguments in README
2 parents fdf4916 + af3c0bb commit eb58336
Copy full SHA for eb58336

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
@@ -211,7 +211,7 @@ _Note that the script path given to `require()` must be an **absolute path** in
211211
And then export a function from your module:
212212

213213
```javascript
214-
module.exports = (github, context) => {
214+
module.exports = ({github, context}) => {
215215
return context.payload.client_payload.value
216216
}
217217
```

0 commit comments

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