From d245de82a0c553b24a6df68d4c11c9fcaf990153 Mon Sep 17 00:00:00 2001 From: Marc Went Date: Wed, 8 May 2024 10:02:27 +0200 Subject: [PATCH] Remove limitation of 100 arguments When having a script with more than 100 arguments, it gets truncated. This commit removes this limitation; as I couldn't find a reason why it should be kept, and makes it hard to debug when using this together with a lot of arguments --- src/bin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin.ts b/src/bin.ts index abe42cc..0e1db2c 100644 --- a/src/bin.ts +++ b/src/bin.ts @@ -6,7 +6,7 @@ import minimist from 'minimist' const nodeArgs: string[] = [] const unknown: string[] = [] -const devArgs = process.argv.slice(2, 100) +const devArgs = process.argv.slice(2) const tsNodeFlags = { boolean: [