Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/Debug.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
#

Set-PSFConfig -FullName PSFramework.Message.Info.Maximum -Value 9
# Set-PSFConfig -FullName AzOps.Core.State -Value "/workspaces/azops"
# Set-PSFConfig -FullName AzOps.Core.State -Value "/workspaces/AzOps/root"
# Set-PSFConfig -FullName AzOps.Import.DoDotSource -Value $true
# Set-PSFConfig -FullName AzOps.Import.IndividualFiles -Value $true

#
# Import
#

# Import-Module ./src/AzOps.psd1 -Force
Import-Module ./src/AzOps.psd1 -Force

#
# Initialize
Expand Down
2 changes: 1 addition & 1 deletion src/tests/general/FileIntegrity.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Describe "Verifying integrity of module files" {
}

It "[$name] Should have no lines with trailing spaces (error will reflect line number with trailing space)" -TestCases @{ file = $file } {
($file | Select-String "\s$" | Where-Object { $_.Line.Trim().Length -gt 0 }).LineNumber | Should -BeNullOrEmpty
($file | Select-String "\s$").LineNumber | Should -BeNullOrEmpty
}

$tokens = $null
Expand Down
2 changes: 1 addition & 1 deletion src/tests/integration/Repository.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Describe "Repository" {
catch {
Write-PSFMessage -Level Critical -Message "Failed to get deployed services" -Exception $_.Exception
}

#
# Invoke the Invoke-AzOpsPull
# function to generate the scope data which
Expand Down