File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -144,14 +144,17 @@ Describe 'Include tests' {
144
144
145
145
$echoConfigPath = Join-Path $TestDrive ' echo.dsc.yaml'
146
146
$echoConfig | Set-Content - Path $echoConfigPath
147
+ $echoConfigPathParent = Split-Path $echoConfigPath - Parent
148
+ $echoConfigPathLeaf = Split-Path $echoConfigPath - Leaf
149
+ $directorySeparator = [System.IO.Path ]::DirectorySeparatorChar
147
150
148
151
$nestedIncludeConfig = @"
149
152
`$ schema: https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2024/04/config/document.json
150
153
resources:
151
154
- name: nested
152
155
type: Microsoft.DSC/Include
153
156
properties:
154
- configurationFile: $echoConfigPath
157
+ configurationFile: "[concat(' $echoConfigPathParent ', ' $directorySeparator ', ' $echoConfigPathLeaf ')]"
155
158
"@
156
159
157
160
$nestedIncludeConfigPath = Join-Path $TestDrive ' nested_include.dsc.yaml'
You can’t perform that action at this time.
0 commit comments