From 3394274fe300dbb97f8893dee4489ca7147b4e58 Mon Sep 17 00:00:00 2001 From: Victor Felder Date: Mon, 18 Mar 2019 21:03:26 +0100 Subject: [PATCH] Always consume the whole format string --- src/util/format-with-options.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/util/format-with-options.js b/src/util/format-with-options.js index 688957a50..a060eebf1 100644 --- a/src/util/format-with-options.js +++ b/src/util/format-with-options.js @@ -103,10 +103,6 @@ function formatWithOptions(options, ...args) { result += segment lastPos = i + 1 - - if (argsIndex === lastArgsIndex) { - break - } } if (lastPos === 0) {