Skip to content

Commit

Permalink
Fix changelog generator options not being provided to changelog gener…
Browse files Browse the repository at this point in the history
…ators (#178)
  • Loading branch information
emmatown authored and Noviny committed Oct 4, 2019
1 parent bb855a8 commit 72babcb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/sour-parents-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@changesets/apply-release-plan": patch
"@changesets/cli": patch
---

Fix changelog generator options not being provided
1 change: 1 addition & 0 deletions packages/apply-release-plan/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ async function getNewChangelogEntry(
};
let changelogOpts: any;
if (changelogConfig) {
changelogOpts = changelogConfig[1];
let changesetPath = path.join(cwd, ".changeset");
let changelogPath = resolveFrom(changesetPath, changelogConfig[0]);

Expand Down

0 comments on commit 72babcb

Please sign in to comment.