Skip to content

Commit 6e27b5d

Browse files
committed
In #544 a change to cli/src/index.ts was introduced that reads package.json from one level up. It works if the project is checked out locally, but not in the npm package, because the package.json of the workspace packages is not included in the inspector package. We can get that from one level up, the inpsector's own package, and so this change does that.
1 parent 901d10c commit 6e27b5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type JsonValue =
3131
| JsonValue[]
3232
| { [key: string]: JsonValue };
3333

34-
import packageJson from "../package.json" with { type: "json" };
34+
import packageJson from "../../package.json" with { type: "json" };
3535

3636
type Args = {
3737
target: string[];

0 commit comments

Comments
 (0)