Skip to content

Commit

Permalink
fix: set cwd to package dir in npm template (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
hori-ryota authored Oct 28, 2023
1 parent 95bd2d4 commit 1e64be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/overseer/template/npm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ return {
overseer.wrap_template(
tmpl,
{ name = string.format("%s %s", bin, k) },
{ args = { "run", k }, bin = bin }
{ args = { "run", k }, bin = bin, cwd = vim.fs.dirname(package) }
)
)
end
Expand Down

0 comments on commit 1e64be8

Please sign in to comment.