Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoalh committed Jul 30, 2022
1 parent 4565a97 commit c478e45
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Import-Module -Name 'hugoalh.GitHubActionsToolkit' -Prefix 'GitHubActions' -Scop
| **Legend** | **Description** |
|:-:|:--|
| 🧪 | **Experimental:** This is in testing, maybe available in the latest version and/or future version. |
| 🔘 | **NodeJS Wrapper:** This dependents and requires NodeJS to execute. |
| 🔘 | **NodeJS Wrapper:** This dependents and requires NodeJS to invoke. |

#### Function

Expand Down
2 changes: 1 addition & 1 deletion hugoalh.GitHubActionsToolkit/module/nodejs-invoke.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Function Invoke-NodeJsWrapper {
[Parameter(Mandatory = $True, Position = 1)][Alias('Input', 'Object', 'Parameter', 'Parameters')][PSCustomObject]$InputObject
)
If (!(Test-GitHubActionsNodeJsEnvironment)) {
Write-Error -Message 'This function require to execute with compatible NodeJS and NPM environment!' -Category 'ResourceUnavailable'
Write-Error -Message 'This function requires to invoke with the compatible NodeJS and NPM environment!' -Category 'ResourceUnavailable'
Return
}
[String]$WrapperFullName = Join-Path -Path $WrapperRoot -ChildPath $Path
Expand Down
2 changes: 1 addition & 1 deletion hugoalh.GitHubActionsToolkit/module/utility.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Function Test-Environment {
[Switch]$StepSummary,
[Switch]$ToolCache,
[Alias('Require', 'Required')][Switch]$Mandatory,
[Alias('RequiredMessage', 'RequireMessage')][String]$MandatoryMessage = 'This process require to execute inside the GitHub Actions environment!'
[Alias('RequiredMessage', 'RequireMessage')][String]$MandatoryMessage = 'This process requires to invoke inside the GitHub Actions environment!'
)
If (
$Env:CI -ine 'true' -or
Expand Down

0 comments on commit c478e45

Please sign in to comment.