From 96fe2d10a4da0521b7cd72d90fd42121f9311978 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Sun, 6 Oct 2019 01:02:34 +0900 Subject: Update eslint and @typescript-eslint (denoland/deno_std#621) Original: https://github.com/denoland/deno_std/commit/c3fe858f98565edbe8faeb3cf2e5b873304f4f6e --- flags/mod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flags') diff --git a/flags/mod.ts b/flags/mod.ts index 28332ae75..19defd1ed 100644 --- a/flags/mod.ts +++ b/flags/mod.ts @@ -286,7 +286,7 @@ export function parse( argv._.push(flags.strings["_"] || !isNumber(arg) ? arg : Number(arg)); } if (options.stopEarly) { - argv._.push.apply(argv._, args.slice(i + 1)); + argv._.push(...args.slice(i + 1)); break; } } -- cgit v1.2.3