Skip to content

Commit

Permalink
correct erorring default variable assignments
Browse files Browse the repository at this point in the history
  • Loading branch information
buidav committed Dec 9, 2024
1 parent e1f201d commit eddea69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PowerShell/ScubaGear/Modules/ScubaConfig/ScubaConfig.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ class ScubaConfig {
hidden static [ScubaConfig]$_Instance = [ScubaConfig]::new()
hidden static [Boolean]$_IsLoaded = $false
hidden static [hashtable]$ScubaDefaults = @{
DefaultOPAPath = (Join-Path -Path $env:USERPROFILE -ChildPath ".scubagear\Tools")
DefaultOPAPath = try {Join-Path -Path $env:USERPROFILE -ChildPath ".scubagear\Tools"} catch {"."};
DefaultProductNames = @("aad", "defender", "exo", "sharepoint", "teams")
AllProductNames = @("aad", "defender", "exo", "powerplatform", "sharepoint", "teams")
DefaultM365Environment = "commercial"
DefaultLogIn = $true
DefaultOutPath = $PWD | Select-Object -ExpandProperty Path
DefaultOutPath = Get-Location | Select-Object -ExpandProperty ProviderPath
DefaultOutFolderName = "M365BaselineConformance"
DefaultOutProviderFileName = "ProviderSettingsExport"
DefaultOutRegoFileName = "TestResults"
Expand Down

0 comments on commit eddea69

Please sign in to comment.