Add some output messages
This commit is contained in:
parent
2a40ac1377
commit
1397b77f49
1 changed files with 6 additions and 3 deletions
|
@ -126,9 +126,12 @@ $backup.actions | % {
|
||||||
$destination = ""
|
$destination = ""
|
||||||
$source = ""
|
$source = ""
|
||||||
|
|
||||||
# Test input path
|
Set-Message "---"
|
||||||
Write-Debug "Process action : $($_.name) | type: $($_.type)"
|
Set-Message "Process action : $($_.name) | type: $($_.type)"
|
||||||
if ( $_.psobject.properties.match('source_eval').Count -and $_.source_eval -eq $true ) {
|
Set-Message "---"
|
||||||
|
|
||||||
|
# Process source
|
||||||
|
if ( $_.psobject.properties.match('source_eval').Count -and $_.source_eval -eq $true ) {
|
||||||
$_.source = eval_var $($_.source)
|
$_.source = eval_var $($_.source)
|
||||||
Write-Debug "Result $($_.source)"
|
Write-Debug "Result $($_.source)"
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue