FMDevToolbox.psm1
foreach ($Directory in @('Private', 'Public')) { Get-ChildItem -Path "$PSScriptRoot\$Directory\*.ps1" -Recurse | ForEach-Object { try { . $_.FullName } catch { Write-Error -Message "Failed to import Private function from $($Import.FullName): $_" } } } if (-not $script:InstalledPythonVersions) { $script:InstalledPythonVersions = Get-PythonInstallations -SuppressFreeThreaded } if(-not $script:PrettierConfig) { $script:PrettierConfig = "$PSScriptRoot\Config\prettierrc.json" } |