Skip to content

Commit c0407ae

Browse files
yoffalexrford
andauthored
Apply suggestions from code review
Co-authored-by: Alex Ford <[email protected]>
1 parent 76455d6 commit c0407ae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

shared/yaml/codeql/serverless/ServerLess.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ module ServerLess<Input I> {
8383
private string normalise(string base) { result = removeLeadingDotSlash(removeTrailingDot(base)) }
8484

8585
/**
86-
* Holds if the `.yml` file `ymlFile` contains a serverless configuration fro `framework` with
86+
* Holds if the `.yml` file `ymlFile` contains a serverless configuration from `framework` with
8787
* `handler`, `codeURI`, and `runtime` properties.
8888
* `codeURI` and `runtime` default to the empty string if no explicit value is set in the configuration.
8989
*

shared/yaml/codeql/serverless/mapping.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ See [documentation](https://docs.aws.amazon.com/lambda/latest/dg/java-handler.ht
2828

2929
You can express the hander in the following formats:
3030

31-
- `package.Class::method` – Full format. For example: example.Handler::handleRequest.
31+
- `package.Class::method` – Full format. For example: `example.Handler::handleRequest`.
3232

33-
- `package.Class` – Abbreviated format for functions that implement a handler interface. For example: example.Handler.
33+
- `package.Class` – Abbreviated format for functions that implement a handler interface. For example: `example.Handler`.
3434

3535
### Go
3636
See [documentation](https://docs.aws.amazon.com/lambda/latest/dg/golang-handler.html)
3737

38-
When you configure a function in Go, the value of the handler setting is the executable file name. For example, if you set the value of the handler to Handler, Lambda will call the main() function in the Handler executable file.
38+
When you configure a function in Go, the value of the handler setting is the executable file name. For example, if you set the value of the handler to `Handler`, Lambda will call the `main()` function in the `Handler` executable file.
3939

4040
### C#
4141
See [documentation](https://docs.aws.amazon.com/lambda/latest/dg/csharp-handler.html)

0 commit comments

Comments
 (0)