Skip to content

Commit

Permalink
fix: πŸ› resolution in pnp subpackages (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
remorses committed Dec 24, 2020
1 parent a63c3d5 commit 823def0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pnp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function getBinaries(workspaceRoot: string, packageName: string) {
const binPath = resolveRequest(
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
path.join(pkgName, p.bin.get(b)!),
process.cwd()
path.resolve(process.cwd(), "package.json")
)
binaries.set(b, binPath)
// eslint-disable-next-line no-empty
Expand Down

0 comments on commit 823def0

Please sign in to comment.