Skip to content

Commit

Permalink
fix generator-core path in /scripts/prepare files
Browse files Browse the repository at this point in the history
  • Loading branch information
taefi committed Jan 10, 2024
1 parent fbe9bb8 commit 2983a16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/prepare/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const root = new URL('../../', import.meta.url);

export const local = {
src: new URL(`scripts/prepare/src/`, root),
versionedPackageJson: new URL('packages/ts/hilla-generator-core/package.json', root),
versionedPackageJson: new URL('packages/ts/generator-core/package.json', root),
results: new URL(`scripts/prepare/results/`, root),
};

Expand Down
2 changes: 1 addition & 1 deletion scripts/prepare/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const [{ version }, versions] = await Promise.all([
]);

if (!version) {
throw new Error('No version found in package.json of Hilla "hilla-generator-core"');
throw new Error('No version found in package.json of Hilla "/ts/generator-core"');
}

// run the generator
Expand Down

0 comments on commit 2983a16

Please sign in to comment.