Skip to content

Commit

Permalink
fix dir path
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianGonz97 committed Nov 10, 2024
1 parent 047c549 commit fe810a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/commands/add/fetch-packages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { fileURLToPath } from 'node:url';
import type { AdderWithoutExplicitArgs } from '@sveltejs/cli-core';

// path to the `node_modules` directory of `sv`
const NODE_MODULES = fileURLToPath(new URL('../../../node_modules', import.meta.url));
const NODE_MODULES = fileURLToPath(new URL('../node_modules', import.meta.url));
const REGISTRY = 'https://registry.npmjs.org';
export const Directive = { file: 'file:', npm: 'npm:' };

Expand Down

0 comments on commit fe810a5

Please sign in to comment.