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 6dce8df Fix typos in actions doc (#3766)
6dce8df is described below
commit 6dce8dfe2836690f094b478b9bc4ff686fc9b2e7
Author: James Dubee <[email protected]>
AuthorDate: Mon Jun 18 16:18:49 2018 -0400
Fix typos in actions doc (#3766)
---
docs/actions.md | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/docs/actions.md b/docs/actions.md
index 05de898..c7fbd99 100644
--- a/docs/actions.md
+++ b/docs/actions.md
@@ -274,7 +274,7 @@ This example invokes a Yahoo Weather service to get the
current conditions at a
wsk action invoke --result weather --param location "Brooklyn, NY"
```
- Using the `--result` flag means that the value returned from the action is
shown as output on the commandline:
+ Using the `--result` flag means that the value returned from the action is
shown as output on the command-line:
```json
{
@@ -363,7 +363,7 @@ You can use a JavaScript module bundler such as
[webpack](https://webpack.js.org
Here is a quick example using webpack:
-Taking the previous example `package.json` add `webpack` as a development
depency and add some npm script commands.
+Taking the previous example `package.json` add `webpack` as a development
dependency and add some npm script commands.
```json
{
"name": "my-action",
@@ -431,7 +431,7 @@ To build and deploy an OpenWhisk Action using `npm` and
`webpack`:
```
npm run deploy
```
- {: pre}
+
Using the CLI:
```
wsk action update my-action dist/bundle.js
@@ -880,7 +880,7 @@ For Swift 3 here is an example:
Notice that `CCurl`, `Kitura-net` and `SwiftyJSON` are provided in the
standard Swift action
and so you should include them in your own `Package.swift` only for Swift 3
actions.
-- Build the action by runing the following command for a Swift 3 action:
+- Build the action by running the following command for a Swift 3 action:
```
bash compile.sh hello swift:3.1.1
```
@@ -907,11 +907,11 @@ and so you should include them in your own
`Package.swift` only for Swift 3 acti
The time it took for the action to run is in the "duration" property and
compare to the time it takes to run with a compilation step in the hello action.
-### Erro Handling in Swift 4
+### Error Handling in Swift 4
With the new Codable completion handler, you can pass an Error to indicate a
failure in your Action.
[Error handling in
Swift](https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/ErrorHandling.html)
resembles exception handling in other languages, with the use of the `try,
catch` and `throw` keywords.
-The following example shows a an example on hanlding an error
+The following example shows a an example on handling an error
```swift
enum VendingMachineError: Error {
case invalidSelection