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 1e8bf3a commit 3ba766bCopy full SHA for 3ba766b
tools/CheckAssemblies.ps1
@@ -36,8 +36,12 @@ function Get-PreloadAssemblies{
36
$ProjectPaths = @( "$PSScriptRoot\..\artifacts\$BuildConfig" )
37
$DependencyMapPath = "$PSScriptRoot\..\artifacts\StaticAnalysisResults\DependencyMap.csv"
38
39
-$DependencyMap = Import-Csv -Path $DependencyMapPath
+if (-not (Test-Path $DependencyMapPath)) {
40
+ Write-Host "$DependencyMapPath does not exist. Skip it."
41
+ return
42
+}
43
44
+$DependencyMap = Import-Csv -Path $DependencyMapPath
45
46
.($PSScriptRoot + "\PreloadToolDll.ps1")
47
$ModuleManifestFiles = $ProjectPaths | ForEach-Object { Get-Item "Az.*.psd1" | Where-Object { $_.FullName -like "*$($BuildConfig)*" -and `
0 commit comments