Skip to content

Commit

Permalink
correct erorring default variable assignments (#1387)
Browse files Browse the repository at this point in the history
  • Loading branch information
buidav authored Dec 11, 2024
1 parent 0a9a18f commit e2f99c5
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 e2f99c5

Please sign in to comment.