Skip to content

Commit

Permalink
chore: fix packages/eslint-plugin-svelte/tools/lib/changesets-util.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Jun 9, 2024
1 parent c9f361e commit 8e568c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-plugin-svelte/tools/lib/changesets-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import path from 'path';

/** Get new version string from changesets */
export async function getNewVersion(): Promise<string> {
const releasePlan = await getReleasePlan(path.resolve(__dirname, '../..'));
const releasePlan = await getReleasePlan(path.resolve(__dirname, '../../../..'));

return releasePlan.releases.find(({ name }) => name === 'eslint-plugin-svelte')!.newVersion;
}

0 comments on commit 8e568c4

Please sign in to comment.