Code Indentation fix
This commit is contained in:
parent
74eae2fd11
commit
6b7c1aa95e
1 changed files with 2 additions and 1 deletions
|
@ -22,6 +22,7 @@ if ( $debug ) {
|
||||||
|
|
||||||
Import-Module -Name "$PSScriptRoot\lib\backupscript-global_utils.psm1" -Scope Global -Force
|
Import-Module -Name "$PSScriptRoot\lib\backupscript-global_utils.psm1" -Scope Global -Force
|
||||||
|
|
||||||
|
|
||||||
function json_to_hash () {
|
function json_to_hash () {
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
Param(
|
Param(
|
||||||
|
@ -200,7 +201,7 @@ $backup.actions | % {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Write-Debug "Import module $($_.type)"
|
Write-Debug "Import module $($_.type)"
|
||||||
Import-Module -Name "$PSScriptRoot\lib\backupscript-$($_.type).psm1"
|
Import-Module -Name "$PSScriptRoot\lib\backupscript-$($_.type).psm1"
|
||||||
Backup-Create -source $source -dest $destination -name $_.name -opt $opt
|
Backup-Create -source $source -dest $destination -name $_.name -opt $opt
|
||||||
if ( $_.psobject.properties.match('hook_postexec').Count -and $_.hook_postexec -ne "" ) {
|
if ( $_.psobject.properties.match('hook_postexec').Count -and $_.hook_postexec -ne "" ) {
|
||||||
Set-Message "Postexec hook : execute $($_.hook_postexec)"
|
Set-Message "Postexec hook : execute $($_.hook_postexec)"
|
||||||
|
|
Reference in a new issue