File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,13 +29,13 @@ if (-not $SettingsJson) {
2929Write-Host ' ✓ Settings retrieved successfully'
3030
3131# Display the generated settings JSON
32- Write-Host " `n ========== Generated Settings JSON =========="
32+ Write-Host " ========== Generated Settings JSON =========="
3333$settings = $SettingsJson | ConvertFrom-Json
3434Write-Host ($settings | ConvertTo-Json - Depth 10 )
3535Write-Host ' =============================================='
3636
3737# Validate against JSON schema
38- Write-Host " `n Validating settings against JSON schema..."
38+ Write-Host " Validating settings against JSON schema..."
3939$schemaPath = Join-Path - Path $PSScriptRoot - ChildPath ' ..' - AdditionalChildPath ' scripts' , ' Settings.schema.json'
4040$schema = Get-Content $schemaPath - Raw
4141$isValid = Test-Json - Json $SettingsJson - Schema $schema
@@ -47,7 +47,7 @@ if (-not $isValid) {
4747Write-Host ' ✓ Settings conform to JSON schema'
4848
4949# Load expected reference settings
50- Write-Host " `n Comparing with reference settings..."
50+ Write-Host " Comparing with reference settings..."
5151$referencePath = Join-Path $PSScriptRoot ' Settings.json'
5252$expectedSettings = Get-Content $referencePath - Raw | ConvertFrom-Json
5353
You can’t perform that action at this time.
0 commit comments