Commit 75040b9
authored
Update function template documentation and enhance GitHub context ass… (#209)
## Description
This pull request includes changes to the
`tools/utilities/New-FunctionTemplate.ps1` file to update documentation
and improve context assertion.
### Function template update
* `tools/utilities/New-FunctionTemplate.ps1`
* Replaced the general notes section with a title and link.
[[1]](diffhunk://#diff-744fac7ebd78c04d74015c27b179c4843ba0c23ae76ffc8957c4bb8ec022fe78L13-R13)
* Added the `Assert-GitHubContext` function to assert a GitHub contexts
authentication types.
[[2]](diffhunk://#diff-744fac7ebd78c04d74015c27b179c4843ba0c23ae76ffc8957c4bb8ec022fe78L34-R35)
* Fixes #186
## Type of change
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [x] 🩹 [Patch]
- [ ] 1 parent 4f65fa1 commit 75040b9
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments