Skip to content

Commit 5a85b71

Browse files
committed
Fix typos
1 parent e4678f4 commit 5a85b71

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ The library encapsulates the workflow via the internal `SCFRuntimeClient` and `S
383383

384384
### Lifecycle Management
385385

386-
SCF Runtime Engine controls the Application lifecycle and in the happy case never terminates the application, only suspends it's execution when no work is avaialble.
386+
SCF Runtime Engine controls the Application lifecycle and in the happy case never terminates the application, only suspends it's execution when no work is available.
387387

388388
As such, the library main entry point is designed to run forever in a blocking fashion, performing the workflow described above in an endless loop.
389389

Sources/TencentSCFRuntimeCore/SCFRunner.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ extension SCF {
5555
eventLoop: self.eventLoop,
5656
allocator: self.allocator)
5757
return factory(context)
58-
// Hopping back to "our" EventLoop is importnant in case the factory returns a future
58+
// Hopping back to "our" EventLoop is important in case the factory returns a future
5959
// that originated from a foreign EventLoop/EventLoopGroup.
6060
// This can happen if the factory uses a library (let's say a database client) that
6161
// manages its own threads/loops for whatever reason and returns a future that
@@ -87,7 +87,7 @@ extension SCF {
8787
invocation: invocation)
8888
logger.debug("sending invocation to scf handler \(handler)")
8989
return handler.handle(context: context, event: event)
90-
// Hopping back to "our" EventLoop is importnant in case the factory returns a future
90+
// Hopping back to "our" EventLoop is important in case the factory returns a future
9191
// that originated from a foreign EventLoop/EventLoopGroup.
9292
// This can happen if the factory uses a library (let's say a database client) that
9393
// manages its own threads/loops for whatever reason and returns a future that

scripts/soundness.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
3232

3333
function replace_acceptable_years() {
3434
# this needs to replace all acceptable forms with 'YEARS'
35-
sed -e 's/2020-2021/YEARS/'
35+
sed -e 's/2020-2021/YEARS/' \
3636
-e 's/2020/YEARS/' -e 's/2021/YEARS/'
3737
}
3838
printf "=> Checking for unacceptable language... "

0 commit comments

Comments
 (0)