We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13e05c9 commit 0e5ae5dCopy full SHA for 0e5ae5d
‎scripts/main.ps1‎
@@ -2,7 +2,7 @@
2
$settings = $env:PSMODULE_INVOKE_SCRIPTANALYZER_INPUT_Settings
3
$testPath = Resolve-Path -Path "$PSScriptRoot/tests/PSScriptAnalyzer" | Select-Object -ExpandProperty Path
4
$path = [string]::IsNullOrEmpty($env:PSMODULE_INVOKE_SCRIPTANALYZER_INPUT_Path) ? '.' : $env:PSMODULE_INVOKE_SCRIPTANALYZER_INPUT_Path
5
-$codePath = Resolve-Path -Path $path | Select-Object -ExpandProperty Path | Select-Object -ExpandProperty Path
+$codePath = Resolve-Path -Path $path | Select-Object -ExpandProperty Path
6
$settingsFilePath = switch -Regex ($settings) {
7
'Module|SourceCode' {
8
"$testPath/$settings.Settings.psd1"
0 commit comments