Skip to content

Commit 898512a

Browse files
committed
fix: pass cwd to readChangesetState (upstream PR changesets#536)
1 parent a7c5002 commit 898512a

2 files changed

Lines changed: 56 additions & 1 deletion

File tree

dist/index.js

Lines changed: 55 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const getOptionalInput = (name: string) => core.getInput(name) || undefined;
4545
`machine github.com\nlogin github-actions[bot]\npassword ${githubToken}`
4646
);
4747

48-
let { changesets } = await readChangesetState();
48+
let { changesets } = await readChangesetState(cwd);
4949

5050
let publishScript = core.getInput("publish");
5151
let hasChangesets = changesets.length !== 0;

0 commit comments

Comments
 (0)