Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Dec 2, 2024
1 parent 41da35a commit d3fd17c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/eslint-plugin-svelte/tools/lib/changesets-util.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import getReleasePlan from '@changesets/get-release-plan';
import path from 'path';

const __dirname = path.dirname(new URL(import.meta.url).pathname);

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

0 comments on commit d3fd17c

Please sign in to comment.