You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2017/06/09 00:40:04 UTC
[incubator-openwhisk] branch master updated: Create reference.md
(#2350)
This is an automated email from the ASF dual-hosted git repository.
csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 82c17c8 Create reference.md (#2350)
82c17c8 is described below
commit 82c17c8a86ff35c5212fb2bcd44c4e39f91e5131
Author: Raymond Camden <ra...@gmail.com>
AuthorDate: Thu Jun 8 19:40:01 2017 -0500
Create reference.md (#2350)
Modify "return;" which works to "return {};" which is a bit more consistent.
---
docs/reference.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/reference.md b/docs/reference.md
index 7179aab..85a2a19 100644
--- a/docs/reference.md
+++ b/docs/reference.md
@@ -137,7 +137,7 @@ Here is an example of a synchronous action.
// an action in which each path results in a synchronous activation
function main(params) {
if (params.payload == 0) {
- return;
+ return {};
} else if (params.payload == 1) {
return {payload: 'Hello, World!'};
} else if (params.payload == 2) {
--
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].