Minor fix to Edit-DockerCompose
dcedit additional files would attempt even if not supplied
This commit is contained in:
parent
6549d8683d
commit
4318bfc7a8
|
@ -34,7 +34,7 @@ foreach( $local:ext in @('.yml', '.yaml') ) {
|
|||
}
|
||||
}
|
||||
|
||||
$AdditionalFiles = $AdditionalFiles | ForEach-Object {
|
||||
$AdditionalFiles = $AdditionalFiles | Where-Object { $_ } | ForEach-Object {
|
||||
$_ -replace
|
||||
'^#lsi$','#/*linuxserver.yml' -replace
|
||||
'^#tr?$','#/*traefik.yml' -replace
|
||||
|
|
Loading…
Reference in New Issue