Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eb58336

Browse 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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines 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)