mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-18 08:30:00 +02:00
Update the CSV files
This commit is contained in:
@@ -23,9 +23,9 @@ try {
|
||||
foreach ($File in $Files) {
|
||||
$Table = Import-CSV "$File"
|
||||
foreach($Row in $Table) {
|
||||
if ($Row.Abbr -eq $abbr) {
|
||||
if ($Row.ABBR -eq $abbr) {
|
||||
$Basename = (Get-Item "$File").Basename -Replace "_"," "
|
||||
"💡 In $Basename $($Row.Abbr) may refer to $($Row.Term)."
|
||||
"💡 In $Basename $($Row.ABBR) may refer to $($Row.TERM)."
|
||||
$Missing = $false
|
||||
}
|
||||
}
|
||||
@@ -35,4 +35,4 @@ try {
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user