diff --git a/Scripts/tell-quote.ps1 b/Scripts/tell-quote.ps1 index 877be7ed..2215312f 100755 --- a/Scripts/tell-quote.ps1 +++ b/Scripts/tell-quote.ps1 @@ -17,10 +17,8 @@ try { $randomNumberGenerator = New-Object System.Random $row = [int]$randomNumberGenerator.next(0, $table.Count - 1) - $quote = $table[$row].QUOTE - $author = $table[$row].AUTHOR - & "$PSScriptRoot/speak-english.ps1" "$quote (by $author)" + & "$PSScriptRoot/speak-english.ps1" "$($table[$row].QUOTE). By $($table[$row].AUTHOR)." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"