Skip to content

Commit

Permalink
feat: add ~/go/bin to probed directories, fixes #393
Browse files Browse the repository at this point in the history
  • Loading branch information
a-h committed Jan 4, 2024
1 parent c34139a commit 34543ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ const templLocations = [
path.join(process.env.GOROOT || "", 'bin', 'templ.exe'),
path.join(process.env.HOME || "", 'bin', 'templ'),
path.join(process.env.HOME || "", 'bin', 'templ.exe'),
path.join(process.env.HOME || "", 'go', 'bin', 'templ'),
path.join(process.env.HOME || "", 'go', 'bin', 'templ.exe'),
'/usr/local/bin/templ',
'/usr/bin/templ',
'/usr/local/go/bin/templ',
Expand Down

0 comments on commit 34543ff

Please sign in to comment.