From ca3a9dd069524c1941bbf858f042661db44190b8 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 25 Nov 2024 07:09:33 +0100 Subject: [PATCH] Updated clean-repo.ps1 --- scripts/clean-repo.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/clean-repo.ps1 b/scripts/clean-repo.ps1 index 60e792a8..15b55618 100755 --- a/scripts/clean-repo.ps1 +++ b/scripts/clean-repo.ps1 @@ -12,7 +12,7 @@ ⏳ (2/4) Checking local repository... C:\Repos\rust ⏳ (3/4) Removing untracked files in repository... ⏳ (4/4) Removing untracked files in submodules... - βœ… Cleaned up πŸ“‚rust repo in 2s. + βœ… Repo πŸ“‚rust successfully cleaned up in 2s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -45,7 +45,7 @@ try { if ($lastExitCode -ne "0") { throw "'git clean' in the submodules failed with exit code $lastExitCode" } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "βœ… Cleaned up πŸ“‚$repoName repo in $($elapsed)s." + "βœ… Repo πŸ“‚$repoName successfully cleaned up in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"