From 1bfd23954f07088f3a06e2237e2b642734f6f4c2 Mon Sep 17 00:00:00 2001 From: nzambello Date: Fri, 13 Aug 2021 15:55:05 +0200 Subject: [PATCH] chore: apply templates to LICENSE too --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index 92e2a9f..661aeec 100644 --- a/src/utils.js +++ b/src/utils.js @@ -57,7 +57,7 @@ const replaceInFile = async (fileName, data) => { exports.configTemplate = async (name, url, description, author) => { try { const data = { name, url, description, author } - const files = ['package.json', 'README.md'] + const files = ['package.json', 'README.md', 'LICENSE'] await Promise.all(files.map(file => replaceInFile(`./src/addons/${name}/${file}`, data))) const repo = git(`./src/addons/${name}`)