File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ function Get-GHActionsInput {
306
306
}
307
307
process {
308
308
$Name.GetEnumerator () | ForEach-Object - Process {
309
- [ string ] $InputValue = Get-ChildItem - Path " Env:\INPUT_$ ( $_.ToUpper () -replace ' [ \n\r]' , ' _' ) " - ErrorAction SilentlyContinue
309
+ $InputValue = Get-ChildItem - Path " Env:\INPUT_$ ( $_.ToUpper () -replace ' [ \n\r]' , ' _' ) " - ErrorAction SilentlyContinue
310
310
if ($InputValue -eq $null ) {
311
311
if ($Require ) {
312
312
throw " Input `` $_ `` is not defined!"
@@ -367,7 +367,7 @@ function Get-GHActionsState {
367
367
}
368
368
process {
369
369
$Name.GetEnumerator () | ForEach-Object - Process {
370
- [ string ] $StateValue = Get-ChildItem - Path " Env:\STATE_$ ( $_.ToUpper () -replace ' [ \n\r]' , ' _' ) " - ErrorAction SilentlyContinue
370
+ $StateValue = Get-ChildItem - Path " Env:\STATE_$ ( $_.ToUpper () -replace ' [ \n\r]' , ' _' ) " - ErrorAction SilentlyContinue
371
371
if ($StateValue -eq $null ) {
372
372
$Result [$_ ] = $StateValue
373
373
} else {
You can’t perform that action at this time.
0 commit comments