File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,10 @@ function GetBuildInfo {
11
11
$BuildCommandInvocation
12
12
)
13
13
14
- $BuildInfo = if ($BuildManifest -and (Test-Path $BuildManifest )) {
15
- if ((Split-path - Leaf $BuildManifest ) -eq ' build.psd1' ) {
16
- # Read the Module Manifest configuration file for default parameter values
17
- Write-Debug " Load Build Manifest $BuildManifest "
18
- Import-Metadata - Path $BuildManifest
19
- } else {
20
- Write-Debug " Use SourcePath $BuildManifest "
21
- @ { SourcePath = $BuildManifest }
22
- }
14
+ $BuildInfo = if ($BuildManifest -and (Test-Path $BuildManifest ) -and (Split-path - Leaf $BuildManifest ) -eq ' build.psd1' ) {
15
+ # Read the build.psd1 configuration file for default parameter values
16
+ Write-Debug " Load Build Manifest $BuildManifest "
17
+ Import-Metadata - Path $BuildManifest
23
18
} else {
24
19
@ {}
25
20
}
You can’t perform that action at this time.
0 commit comments