Skip to content

Commit

Permalink
rollin
Browse files Browse the repository at this point in the history
  • Loading branch information
walteh committed Nov 14, 2023
1 parent 2d598bb commit 6bfd073
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions exec/tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package exec
import (
"context"
"encoding/json"
"fmt"
"os"
"strings"
"time"
Expand Down Expand Up @@ -80,14 +79,10 @@ func (p *gitProvider) TagsFromBranch(ctx context.Context, branch string) ([]simv
Ref string `json:"ref"`
}

fmt.Println(string(line))

line = strings.TrimSpace(line)
line = strings.TrimPrefix(line, "'")
line = strings.TrimSuffix(line, "'")

fmt.Println(string(line))

err = json.Unmarshal([]byte(line), &dat)
if err != nil {
return nil, ErrExecGit.Trace(err)
Expand Down

0 comments on commit 6bfd073

Please sign in to comment.