Skip to content

Commit

Permalink
fix addons list management in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
nzambello committed Jul 13, 2020
1 parent e61f668 commit 42a9bb9
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 @@ -109,7 +109,7 @@ const applyToPackageJson = async (name, url) => {
if (!updatedJson.addons) {
updatedJson.addons = []
}
updatedJson.workspaces.push(name)
updatedJson.addons.push(name)

await writeJsonFile('package.json', updatedJson)
} catch (err) {
Expand Down

0 comments on commit 42a9bb9

Please sign in to comment.