Skip to content

Commit

Permalink
remove debugging for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ga-paul-t committed Jan 19, 2023
1 parent 2490f6a commit 37defa1
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 14 deletions.
5 changes: 0 additions & 5 deletions internal/task/bump/bump.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ SOFTWARE.
package bump

import (
"fmt"

"github.com/apex/log"
"github.com/gembaadvantage/uplift/internal/context"
"github.com/gembaadvantage/uplift/internal/git"
Expand Down Expand Up @@ -87,9 +85,6 @@ func (t Task) Run(ctx *context.Context) error {
continue
}

fmt.Println("About to stage file at path")
fmt.Println(resolvedBump)

if err := git.Stage(resolvedBump); err != nil {
return err
}
Expand Down
3 changes: 0 additions & 3 deletions internal/task/bump/bump_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ SOFTWARE.
package bump

import (
"fmt"
"os"
"path/filepath"
"testing"
Expand All @@ -49,8 +48,6 @@ func TestRun_NotGitRepository(t *testing.T) {
git.MkTmpDir(t)
file := WriteTempFile(t, "version: 0.1.0")

fmt.Println(file)

ctx := &context.Context{
NextVersion: semver.Version{
Raw: "0.1.1",
Expand Down
4 changes: 0 additions & 4 deletions internal/task/bump/regex.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ package bump

import (
"errors"
"fmt"
"os"
"regexp"
"strings"
Expand Down Expand Up @@ -93,9 +92,6 @@ func regexBump(ctx *context.Context, path string, bumps []config.RegexBump) (boo
return false, nil
}

fmt.Println("Writing to file at path")
fmt.Println(path)

return true, os.WriteFile(path, []byte(str), 0o644)
}

Expand Down
2 changes: 0 additions & 2 deletions internal/task/bump/regex_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -544,8 +544,6 @@ description: This is a test chart
version: 0.1.0
appVersion: v0.1.0`)

fmt.Println(file)

ctx := &context.Context{
NextVersion: semver.Version{
Raw: "v0.1.1",
Expand Down

0 comments on commit 37defa1

Please sign in to comment.