Skip to content

Commit

Permalink
fix: missing array for a release plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Forattini committed Jun 7, 2022
1 parent 39c12d5 commit 1594eff
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/steps/generate-releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ module.exports = function ({
"@semantic-release/changelog",
]);

if (npmPlugin)
plugins = plugins.concat([
"@semantic-release/npm",
{
npmPublish: false,
},
]);
if (npmPlugin) plugins = plugins.concat([[
"@semantic-release/npm",
{
npmPublish: false,
},
]]);

plugins = plugins.concat([
[
Expand Down

0 comments on commit 1594eff

Please sign in to comment.