Skip to content

Commit 33c0f2c

Browse files
committed
fix: Remove unneccasary debug logs.
1 parent 479926d commit 33c0f2c

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

cmd/shelf/actions.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,6 @@ func RestoreShelf(cliCtx *cli.Context) error {
263263

264264
// If the symlink path in db is absolute, it will be put in home directory
265265
if !path.IsAbs(lPath) {
266-
fmt.Printf("lPath is abs: ")
267266
home := getHomeDir()
268267
lPath = path.Join(home, lPath)
269268
}

cmd/shelf/db.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package main
22

33
import (
44
"encoding/json"
5-
"fmt"
65
"io"
76
"os"
87
"path"
@@ -39,7 +38,6 @@ func (db *DB) AddLink(filePath, linkPath string) {
3938
// Strip any extra slashes at the prefix
4039
l = strings.TrimPrefix(l, "/")
4140

42-
fmt.Printf("linkpath: %s, home: %s\n", linkPath, home)
4341
db.Links[filePath] = path.Clean(l)
4442
return
4543
}

0 commit comments

Comments
 (0)