Replaced the done character

This commit is contained in:
Markus Fleschutz
2024-10-01 13:37:53 +02:00
parent c43e787025
commit fd963889d2
600 changed files with 743 additions and 769 deletions

View File

@ -1,4 +1,4 @@
<#
<#
.SYNOPSIS
Counts the number of lines
.DESCRIPTION
@ -7,7 +7,7 @@
Specifies the path to the directory tree.
.EXAMPLE
PS> ./count-lines.ps1 C:\Repos\cmake
✔️ Found 639921 lines in 11411 text files within 📂cmake in 34 sec.
Found 639921 lines in 11411 text files within 📂cmake in 34 sec.
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
@ -32,7 +32,7 @@ try {
$folderName = (Get-Item "$pathToDirTree").Name
Write-Progress -completed " "
[int]$Elapsed = $stopWatch.Elapsed.TotalSeconds
"✔️ Found $numLines lines in $numFiles text files within 📂$folderName in $Elapsed sec."
" Found $numLines lines in $numFiles text files within 📂$folderName in $Elapsed sec."
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"