File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
hugoalh.GitHubActionsToolkit Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -353,7 +353,7 @@ function Get-GHActionsInput {
353
353
}
354
354
process {
355
355
$Name | ForEach-Object - Process {
356
- $InputValue = Get-ChildItem - Path " Env:\INPUT_$ ( $_.ToUpper () -replace ' [ \n\r] ' , ' _' ) " - ErrorAction SilentlyContinue
356
+ $InputValue = Get-ChildItem - Path " Env:\INPUT_$ ( $_.ToUpper () -replace ' [ \n\r\s\t]+ ' , ' _' ) " - ErrorAction SilentlyContinue
357
357
if ($null -eq $InputValue ) {
358
358
if ($Require ) {
359
359
throw " Input `` $_ `` is not defined!"
@@ -414,7 +414,7 @@ function Get-GHActionsState {
414
414
}
415
415
process {
416
416
$Name | ForEach-Object - Process {
417
- $StateValue = Get-ChildItem - Path " Env:\STATE_$ ( $_.ToUpper () -replace ' [ \n\r] ' , ' _' ) " - ErrorAction SilentlyContinue
417
+ $StateValue = Get-ChildItem - Path " Env:\STATE_$ ( $_.ToUpper () -replace ' [ \n\r\s\t]+ ' , ' _' ) " - ErrorAction SilentlyContinue
418
418
if ($null -eq $StateValue ) {
419
419
$Result [$_ ] = $StateValue
420
420
} else {
You can’t perform that action at this time.
0 commit comments