From e8b5f7b089feee533e8b6fa0a498f511ba559866 Mon Sep 17 00:00:00 2001 From: "marco.locatelli@steamware.net" Date: Tue, 27 Feb 2024 10:57:45 +0100 Subject: [PATCH] minor fix --- ApiGit/CheckGitlabProtectedBranches.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ApiGit/CheckGitlabProtectedBranches.ps1 b/ApiGit/CheckGitlabProtectedBranches.ps1 index 6b6422f..a15b7b6 100644 --- a/ApiGit/CheckGitlabProtectedBranches.ps1 +++ b/ApiGit/CheckGitlabProtectedBranches.ps1 @@ -21,15 +21,15 @@ $existingProjects = 0 #conteggio progetti trovati $protectedProjects = 0 #abilita o disabilita la cancellazione della protezione (1=cancella, 0=toca negot) -$deleteProtection = 0 +$deleteProtection = 1 #nome file di log $logFile = "GitlabProtectedBranches.log" #specifica quale installazione di gitlab va controllata -#$gitlabIstance = $destinationNembro -#$head = $nembroHead -$gitlabIstance = $destinationAzzano -$head = $azzanoHead +$gitlabIstance = $destinationNembro +$head = $nembroHead +#$gitlabIstance = $destinationAzzano +#$head = $azzanoHead #creazione folder di Log se non giĆ  esistente if (Test-Path $logFolder) {