We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41da35a commit d3fd17cCopy full SHA for d3fd17c
packages/eslint-plugin-svelte/tools/lib/changesets-util.ts
@@ -1,6 +1,8 @@
1
import getReleasePlan from '@changesets/get-release-plan';
2
import path from 'path';
3
4
+const __dirname = path.dirname(new URL(import.meta.url).pathname);
5
+
6
/** Get new version string from changesets */
7
export async function getNewVersion(): Promise<string> {
8
const releasePlan = await getReleasePlan(path.resolve(__dirname, '../../../..'));
0 commit comments