We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f509cbf commit eda6fddCopy full SHA for eda6fdd
build.ps1
@@ -110,8 +110,12 @@ if ($BuildDocs)
110
New-ExternalHelp -Path $markdownDocsPath -OutputPath $outputDocsPath -Force -Verbose:$verbosity
111
}
112
113
-
114
-$moduleRootPath = Join-Path (Split-Path $profile) 'Modules'
+# Appyeyor errors out due to $profile being null. Hence...
+$moduleRootPath = "$HOME/Documents/WindowsPowerShell/Modules"
115
+if ($profile -ne $null)
116
+{
117
+ $moduleRootPath = Join-Path (Split-Path $profile) 'Modules'
118
+}
119
$modulePSSAPath = Join-Path $moduleRootPath 'PSScriptAnalyzer'
120
if ($Install)
121
{
0 commit comments