From 8b2a02d0aeff1b3a9092e9d3e1e5a222185a3ed5 Mon Sep 17 00:00:00 2001 From: Giuseppe Montuoro Date: Thu, 18 Mar 2021 16:37:35 +0100 Subject: [PATCH] Template elements are no more mandatory in final name. --- src/CommandLineParser.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/CommandLineParser.ts b/src/CommandLineParser.ts index bc4c362..09b5845 100644 --- a/src/CommandLineParser.ts +++ b/src/CommandLineParser.ts @@ -194,11 +194,6 @@ function isOutputTemplateValid(argv: any): boolean { match = elementRegEx.exec(finalTemplate); } } - // bad template from user, switching to default - else { - logger.warn('Empty output template provided, using default one \n'); - finalTemplate = '{title} - {publishDate} {uniqueId}'; - } argv.outputTemplate = sanitize(finalTemplate.trim());