Skip to content

Commit ed362cd

Browse files
committed
refac: default.ps1 script for non-bool settings
1 parent b205c44 commit ed362cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/playbook/Executables/DEFAULT.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Get-ChildItem -Path $registryPath | ForEach-Object {
1212

1313
if ($null -eq $state -or $null -eq $path) { return }
1414

15-
if ($state.state -eq 1) {
15+
if ($state.state -eq 1 -or $state.state -ne 0) {
1616
$scriptPath = $path.path
1717
if (Test-Path $scriptPath) {
1818
Write-Host "Running: $scriptPath" -ForegroundColor Cyan

0 commit comments

Comments
 (0)