Skip to content

Commit

Permalink
Merge pull request #6 from vincenthsh/fix-nx-build
Browse files Browse the repository at this point in the history
fix: Nx command
  • Loading branch information
vincenthsh authored May 9, 2024
2 parents 7693450 + ad184bf commit 715a75d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/action/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (a *action) Contains(filename string) bool {
}

func (a *action) buildPackage() error {
cmd := exec.Command("pnpm", "exec", "nx", "run-many", "--target", "build")
cmd := exec.Command("pnpm", "exec", "nx", "run", fmt.Sprintf("%s:build", a.packageInfo.Name))
cmd.Dir = a.packageInfo.Path

// get relative path
Expand Down

0 comments on commit 715a75d

Please sign in to comment.