From 79a8f885775f88cbc008d17ba564e1869d90172e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Barroso?= Date: Sat, 19 Feb 2022 23:37:34 +0100 Subject: [PATCH] fix: wrong refactor --- cmd/meroxa/turbine_cli/js_lang.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/meroxa/turbine_cli/js_lang.go b/cmd/meroxa/turbine_cli/js_lang.go index 8c0626095..427c683ee 100644 --- a/cmd/meroxa/turbine_cli/js_lang.go +++ b/cmd/meroxa/turbine_cli/js_lang.go @@ -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 @@ -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 {