Skip to content

Commit

Permalink
fix: wrong refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
raulb committed Feb 19, 2022
1 parent e54dcb4 commit 79a8f88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/meroxa/turbine_cli/js_lang.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import (
"github.com/meroxa/cli/log"
)

// BuildJSApp calls turbine_cli-js to build an application.
// BuildJSApp calls turbine-js to build an application.
func BuildJSApp(ctx context.Context, l log.Logger) error {
// TODO: Handle the requirement of https://github.com/meroxa/turbine-js.git being installed
// cd into the path first
cmd := exec.Command("npx", "turbine_cli", "test")
cmd := exec.Command("npx", "turbine", "test")
stdout, err := cmd.CombinedOutput()
if err != nil {
return err
Expand All @@ -24,7 +24,7 @@ func BuildJSApp(ctx context.Context, l log.Logger) error {
}

func DeployJSApp(ctx context.Context, path string, l log.Logger) error {
cmd := exec.Command("npx", "turbine_cli", "deploy", path)
cmd := exec.Command("npx", "turbine", "deploy", path)

accessToken, _, err := global.GetUserToken()
if err != nil {
Expand Down

0 comments on commit 79a8f88

Please sign in to comment.