Code Indentation fix

This commit is contained in:
Yorick Barbanneau 2021-01-20 21:49:07 +01:00
parent 74eae2fd11
commit 6b7c1aa95e

View file

@ -22,6 +22,7 @@ if ( $debug ) {
Import-Module -Name "$PSScriptRoot\lib\backupscript-global_utils.psm1" -Scope Global -Force
function json_to_hash () {
[CmdletBinding()]
Param(
@ -200,7 +201,7 @@ $backup.actions | % {
try {
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
if ( $_.psobject.properties.match('hook_postexec').Count -and $_.hook_postexec -ne "" ) {
Set-Message "Postexec hook : execute $($_.hook_postexec)"