Skip to content

Commit

Permalink
update macos path
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Sep 4, 2023
1 parent 9bc875e commit 2d08cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Which.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if (!isWin32()) {
describe("Which", () => {
it("finds perl", async () => {
const act = await which("perl")
expect(act).to.match(/^(\/usr)?\/bin\/perl$/)
expect(act).to.match(/^(\/usr(\/local)?)?\/bin\/perl$/)
})
it("finds node", async () => {
const act = await which("node")
Expand Down

0 comments on commit 2d08cc0

Please sign in to comment.