Skip to content

Commit 55e5eba

Browse files
committed
[fix] Prunned default outputs
1 parent 3e7b912 commit 55e5eba

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cmd/root.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,12 @@ func init() {
7272
refHash := ref.Hash().String()
7373
remotes, _ := r.Remotes()
7474
remoteUsed := remotes[0].Config().URLs[0]
75-
fmt.Println(remoteUsed)
7675
toOrg := remoteUsed[:strings.LastIndex(remoteUsed, "/")]
77-
fmt.Println(toOrg)
7876
defaultGitOrg = toOrg[strings.LastIndexAny(toOrg, "/:")+1:]
7977
repoStartPos := strings.LastIndex(remoteUsed, "/") + 1
8078
defaultGitRepo = remoteUsed[repoStartPos : len(remoteUsed)-4]
8179
defaultGitCommit = refHash
82-
log.Printf("Using the following default git vars org=%s repo=%s hash=%s", defaultGitOrg, defaultGitRepo, defaultGitCommit)
80+
fmt.Println("Detected the following git vars org=%s repo=%s hash=%s", defaultGitOrg, defaultGitRepo, defaultGitCommit)
8381
}
8482

8583
// Here you will define your flags and configuration settings.

0 commit comments

Comments
 (0)