From 9f461bb02b55c10135a466087b81f76a717116f0 Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Mon, 25 Sep 2023 10:05:56 -0500 Subject: [PATCH] better err mesg --- src/create-publish.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/create-publish.mts b/src/create-publish.mts index b9c8e62..fb8d03e 100644 --- a/src/create-publish.mts +++ b/src/create-publish.mts @@ -192,7 +192,7 @@ if (res.ok) { spin.fail(`Failed to publish global commands [Code: ${redBright(res.status)}]`); switch(res.status) { case 400 : - throw Error("400: Ensure your commands have proper fields and data and left nothing out"); + throw Error("400: Ensure your commands have proper fields and data with left nothing out"); case 404 : throw Error("Forbidden 404. Is you application id and/or token correct?") }