From 72a4720fdee4d41ddf362a7b656e77186189b3c2 Mon Sep 17 00:00:00 2001 From: jacoobes Date: Sat, 29 Jan 2022 08:49:24 -0600 Subject: [PATCH] added separator default " " --- src/handler/utils/preprocessors/args.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handler/utils/preprocessors/args.ts b/src/handler/utils/preprocessors/args.ts index c0881ca..9203bb2 100644 --- a/src/handler/utils/preprocessors/args.ts +++ b/src/handler/utils/preprocessors/args.ts @@ -39,7 +39,7 @@ export namespace Utils { * @param {string} sep * @returns {Ok} */ - export function toArr(arg: string, sep: string) : ArgType { + export function toArr(arg: string, sep: string = " ") : ArgType { return Ok(arg.split(sep)); }