Skip to content

Commit

Permalink
Update packages/core/src/portable.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Jackson <rjackson@linkedin.com>
  • Loading branch information
stefanpenner and rwjblue authored Jun 11, 2021
1 parent fad8137 commit c6ddb9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/portable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function maybeNodeModuleVersion(path: string) {
const packagePath = findUpPackagePath(path);

if (packagePath === null) {
throw new Error(`Could not find package.json for '${path}'`);
throw new Error(`[Embroider] Could not find package.json for '${path}'`);
} else {
return require(packagePath).version; // eslint-disable-line @typescript-eslint/no-require-imports
}
Expand Down

0 comments on commit c6ddb9c

Please sign in to comment.