From 7aef2483904701a9e258d39274747095552e202b Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Tue, 4 Apr 2023 21:13:42 -0500 Subject: [PATCH] Added /drawtriangle command --- commands/drawTriangle.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/drawTriangle.ts b/commands/drawTriangle.ts index 0dbf3f0..a7b10b2 100644 --- a/commands/drawTriangle.ts +++ b/commands/drawTriangle.ts @@ -99,7 +99,7 @@ function design3(input) { if (i == 0 || (j == 0 || j == (i - 1))) { // Check if we're at the beginning or end of the line outputString += "*"; } else { - outputString += " "; + outputString += " "; } } } @@ -114,7 +114,7 @@ function design3(input) { if ((i == 0 || (j == 0 || j == (i - 1)))) { // Check if we're at the beginning or end of the line outputString += "*"; } else { - outputString += " "; + outputString += " "; } } }