File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ if (-not $SettingsJson) {
1010Write-Host ' ✓ Settings retrieved successfully'
1111
1212# Display the generated settings JSON
13- Write-Host " ========== Generated Settings JSON =========="
13+ Write-Host ' ========== Generated Settings JSON =========='
1414$settings = $SettingsJson | ConvertFrom-Json
1515Write-Host ($settings | ConvertTo-Json - Depth 10 )
1616Write-Host ' =============================================='
1717
1818# Validate against JSON schema
19- Write-Host " Validating settings against JSON schema..."
19+ Write-Host ' Validating settings against JSON schema...'
2020$schemaPath = Join-Path - Path $PSScriptRoot - ChildPath ' ..' - AdditionalChildPath ' scripts' , ' Settings.schema.json'
2121$schema = Get-Content $schemaPath - Raw
2222$isValid = Test-Json - Json $SettingsJson - Schema $schema
@@ -28,7 +28,7 @@ if (-not $isValid) {
2828Write-Host ' ✓ Settings conform to JSON schema'
2929
3030# Load expected reference settings
31- Write-Host " Comparing with reference settings..."
31+ Write-Host ' Comparing with reference settings...'
3232$referencePath = Join-Path $PSScriptRoot ' Settings.json'
3333$expectedSettings = Get-Content $referencePath - Raw | ConvertFrom-Json
3434
You can’t perform that action at this time.
0 commit comments