This is an automated email from the ASF dual-hosted git repository.

rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-runtime-swift.git


The following commit(s) were added to refs/heads/master by this push:
     new 515578a  chore: fix spelling (#130)
515578a is described below

commit 515578adf545add8cf49eb598e45a1d3b5000ae3
Author: John Bampton <[email protected]>
AuthorDate: Tue Mar 9 22:24:04 2021 +1000

    chore: fix spelling (#130)
---
 README.md                                                  | 6 +++---
 core/swift41Action/epilogue.swift                          | 2 +-
 core/swift42Action/swiftbuild.py.launcher.swift            | 2 +-
 core/swift51Action/swiftbuild.py.launcher.swift            | 2 +-
 core/swift53Action/swiftbuild.py.launcher.swift            | 2 +-
 tests/dat/actions/SwiftyRequestCodable/Sources/main.swift  | 4 ++--
 tests/dat/actions/SwiftyRequestCodable5/Sources/main.swift | 4 ++--
 7 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/README.md b/README.md
index d43c597..bc87bfe 100644
--- a/README.md
+++ b/README.md
@@ -350,7 +350,7 @@ docker login
 ```
 
 
-## Codable Suppor with Swift 4.x
+## Codable Support with Swift 4.x
 
 Some examples of using Codable In and Out
 
@@ -434,7 +434,7 @@ wsk action update myAction myAction.swift --docker 
openwhisk/action-swift-v4.2:1
 ```
 This works on any deployment of Apache OpenWhisk
 
-### To use on deployment that contains the rutime as a kind
+### To use on deployment that contains the runtime as a kind
 To use as a kind action
 ```
 wsk action update myAction myAction.swift --kind swift:4.2
@@ -453,7 +453,7 @@ docker login
 ```
 
 Deploy OpenWhisk using ansible environment that contains the kind `swift:4.2`
-Assuming you have OpenWhisk already deploy localy and `OPENWHISK_HOME` 
pointing to root directory of OpenWhisk core repository.
+Assuming you have OpenWhisk already deploy locally and `OPENWHISK_HOME` 
pointing to root directory of OpenWhisk core repository.
 
 Set `ROOTDIR` to the root directory of this repository.
 
diff --git a/core/swift41Action/epilogue.swift 
b/core/swift41Action/epilogue.swift
index 678b0d9..25a9018 100644
--- a/core/swift41Action/epilogue.swift
+++ b/core/swift41Action/epilogue.swift
@@ -121,6 +121,6 @@ func _run_main<Out: Encodable>(mainFunction: ( @escaping 
(Out?, Error?) -> Void)
     let _ = mainFunction(resultHandler)
 }
 
-// snippets of code "injected", dependending on the type of function the 
developer
+// snippets of code "injected", depending on the type of function the developer
 // wants to use traditional vs codable
 
diff --git a/core/swift42Action/swiftbuild.py.launcher.swift 
b/core/swift42Action/swiftbuild.py.launcher.swift
index a1a2cf0..3405777 100644
--- a/core/swift42Action/swiftbuild.py.launcher.swift
+++ b/core/swift42Action/swiftbuild.py.launcher.swift
@@ -122,7 +122,7 @@ func _run_main<Out: Encodable>(mainFunction: ( @escaping 
(Out?, Error?) -> Void)
     let _ = mainFunction(resultHandler)
 }
 
-// snippets of code "injected", dependending on the type of function the 
developer
+// snippets of code "injected", depending on the type of function the developer
 // wants to use traditional vs codable
 
 
diff --git a/core/swift51Action/swiftbuild.py.launcher.swift 
b/core/swift51Action/swiftbuild.py.launcher.swift
index a1a2cf0..3405777 100644
--- a/core/swift51Action/swiftbuild.py.launcher.swift
+++ b/core/swift51Action/swiftbuild.py.launcher.swift
@@ -122,7 +122,7 @@ func _run_main<Out: Encodable>(mainFunction: ( @escaping 
(Out?, Error?) -> Void)
     let _ = mainFunction(resultHandler)
 }
 
-// snippets of code "injected", dependending on the type of function the 
developer
+// snippets of code "injected", depending on the type of function the developer
 // wants to use traditional vs codable
 
 
diff --git a/core/swift53Action/swiftbuild.py.launcher.swift 
b/core/swift53Action/swiftbuild.py.launcher.swift
index a1a2cf0..3405777 100644
--- a/core/swift53Action/swiftbuild.py.launcher.swift
+++ b/core/swift53Action/swiftbuild.py.launcher.swift
@@ -122,7 +122,7 @@ func _run_main<Out: Encodable>(mainFunction: ( @escaping 
(Out?, Error?) -> Void)
     let _ = mainFunction(resultHandler)
 }
 
-// snippets of code "injected", dependending on the type of function the 
developer
+// snippets of code "injected", depending on the type of function the developer
 // wants to use traditional vs codable
 
 
diff --git a/tests/dat/actions/SwiftyRequestCodable/Sources/main.swift 
b/tests/dat/actions/SwiftyRequestCodable/Sources/main.swift
index 0c6e1de..e7000e7 100644
--- a/tests/dat/actions/SwiftyRequestCodable/Sources/main.swift
+++ b/tests/dat/actions/SwiftyRequestCodable/Sources/main.swift
@@ -20,7 +20,7 @@ import Dispatch
 import Foundation
 
 enum RequestError: Error {
-    case requetError
+    case requestError
 }
 struct AnInput: Codable {
     let url: String?
@@ -38,7 +38,7 @@ func main(param: AnInput, completion: @escaping (AnOutput?, 
Error?) -> Void) ->
             completion(AnOutput(greeting:"success"),nil)
         case .failure(let error):
             print(error)
-            completion(nil,RequestError.requetError)
+            completion(nil,RequestError.requestError)
         }
     }
 }
diff --git a/tests/dat/actions/SwiftyRequestCodable5/Sources/main.swift 
b/tests/dat/actions/SwiftyRequestCodable5/Sources/main.swift
index 004ae53..f8cc3d0 100644
--- a/tests/dat/actions/SwiftyRequestCodable5/Sources/main.swift
+++ b/tests/dat/actions/SwiftyRequestCodable5/Sources/main.swift
@@ -20,7 +20,7 @@ import Dispatch
 import Foundation
 
 enum RequestError: Error {
-    case requetError
+    case requestError
 }
 struct AnInput: Codable {
     let url: String?
@@ -38,7 +38,7 @@ func main(param: AnInput, completion: @escaping (AnOutput?, 
Error?) -> Void) ->
             completion(AnOutput(greeting:"success"),nil)
         case .failure(let error):
             print(error)
-            completion(nil,RequestError.requetError)
+            completion(nil,RequestError.requestError)
         }
     }
 }

Reply via email to