Skip to content

Commit

Permalink
chore: fix merge conflicts and checking failing test
Browse files Browse the repository at this point in the history
Signed-off-by: Pranshu Srivastava <iampranshu24@gmail.com>
  • Loading branch information
PranshuSrivastava committed May 12, 2024
1 parent 95be7ff commit ac2b05d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/provider/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package provider
import (
"context"
"errors"
"strings"
// "strings"

"go.keploy.io/server/v2/config"
"go.keploy.io/server/v2/pkg/core"
Expand Down Expand Up @@ -90,7 +90,7 @@ func (n *ServiceProvider) GetService(ctx context.Context, cmd string) (interface
if !utils.CheckFileExists(n.cfg.ConfigPath + "./keploy.yml") {
toolsService := tools.NewTools(n.logger, tel)
// Trim the /keploy from path.
n.cfg.Path = strings.TrimSuffix(n.cfg.Path, "/keploy")
// n.cfg.Path = strings.TrimSuffix(n.cfg.Path, "/keploy")
yamlData, err := yaml.Marshal(n.cfg)
n.logger.Info("This is the config data", zap.String("data", string(yamlData)))
if err != nil {
Expand Down

0 comments on commit ac2b05d

Please sign in to comment.