Skip to content

Commit

Permalink
chore: apply templates to LICENSE too
Browse files Browse the repository at this point in the history
  • Loading branch information
nzambello committed Aug 13, 2021
1 parent f7c23c1 commit 1bfd239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)
Expand Down

0 comments on commit 1bfd239

Please sign in to comment.