Skip to content

Commit

Permalink
fix test command
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Vlasic committed Oct 8, 2021
1 parent 114626f commit 1b0260b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cli/cmd/test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package cmd

import (
"fmt"

"github.com/mantil-io/mantil.go/pkg/shell"
"github.com/mantil-io/mantil/cli/cmd/project"
"github.com/mantil-io/mantil/cli/log"
Expand Down Expand Up @@ -35,7 +37,7 @@ func (c *testCmd) run() error {
return err
}
return shell.Exec(shell.ExecOptions{
Env: []string{workspace.EnvApiURL + stageURL},
Env: []string{fmt.Sprintf("%s=%s", workspace.EnvApiURL, stageURL)},
Args: c.args(),
WorkDir: c.ctx.Path + "/test",
Logger: ui.Info,
Expand Down

0 comments on commit 1b0260b

Please sign in to comment.