diff --git a/Scripts/fetch-repos.ps1 b/Scripts/fetch-repos.ps1 index fa7ff797..da4652c1 100755 --- a/Scripts/fetch-repos.ps1 +++ b/Scripts/fetch-repos.ps1 @@ -27,7 +27,7 @@ try { if (-not(Test-Path "$ParentDir" -pathType container)) { throw "Can't access folder: $ParentDir" } $Folders = (Get-ChildItem "$ParentDir" -attributes Directory) $NumFolders = $Folders.Count - "Found $NumFolders subfolders." + "Found $NumFolders subfolders, fetching one by one..." [int]$Step = 3 foreach ($Folder in $Folders) { @@ -41,7 +41,7 @@ try { } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ fetched $NumFolders Git repos at 📂$ParentDirName in $Elapsed sec" + "✔️ fetched $NumFolders Git repos in 📂$ParentDirName, it took $Elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/pull-repos.ps1 b/Scripts/pull-repos.ps1 index c9c6fdd9..b4b29cc8 100755 --- a/Scripts/pull-repos.ps1 +++ b/Scripts/pull-repos.ps1 @@ -27,7 +27,7 @@ try { if (-not(Test-Path "$ParentDir" -pathType container)) { throw "Can't access folder: $ParentDir" } $Folders = (Get-ChildItem "$ParentDir" -attributes Directory) $NumFolders = $Folders.Count - "Found $NumFolders subfolders." + "Found $NumFolders subfolders, pulling one by one..." [int]$Step = 3 [int]$Failed = 0 @@ -45,7 +45,7 @@ try { } [int]$Elapsed = $StopWatch.Elapsed.TotalSeconds - "✔️ pulled $NumFolders Git repos at 📂$ParentDirName in $Elapsed sec ($Failed failed)" + "✔️ pulled $NumFolders Git repos in 📂$ParentDirName ($Failed failed, it took $Elapsed sec)" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"