Template elements are no more mandatory in final name.
This commit is contained in:
parent
7efa54932f
commit
8b2a02d0ae
1 changed files with 0 additions and 5 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in a new issue