Skip to content

Commit 2b06018

Browse files
committed
20230713A
1 parent 2c60fa6 commit 2b06018

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

hugoalh.GitHubActionsToolkit/module/utility.psm1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,8 @@ Function Get-DebugStatus {
4949
[CmdletBinding(HelpUri = 'https://github.com/hugoalh-studio/ghactions-toolkit-powershell/wiki/api_function_getgithubactionsdebugstatus')]
5050
[OutputType([Boolean])]
5151
Param ()
52-
Write-Output -InputObject (
53-
$Env:RUNNER_DEBUG -ieq '1' -or
54-
$Env:RUNNER_DEBUG -ieq 'true'
55-
)
52+
$Env:RUNNER_DEBUG -iin @('1', 'True') |
53+
Write-Output
5654
}
5755
Set-Alias -Name 'Get-IsDebug' -Value 'Get-DebugStatus' -Option 'ReadOnly' -Scope 'Local'
5856
<#

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"@actions/tool-cache": "^2.0.1"
3535
},
3636
"devDependencies": {
37-
"@types/node": "^20.4.1",
37+
"@types/node": "^20.4.2",
3838
"@typescript-eslint/eslint-plugin": "^6.0.0",
3939
"@typescript-eslint/parser": "^6.0.0",
4040
"@vercel/ncc": "^0.36.1",

pnpm-lock.yaml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)