Skip to content

Commit

Permalink
fix: Remove unneccasary debug logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamd3vil committed Jun 25, 2021
1 parent 479926d commit 33c0f2c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion cmd/shelf/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ func RestoreShelf(cliCtx *cli.Context) error {

// If the symlink path in db is absolute, it will be put in home directory
if !path.IsAbs(lPath) {
fmt.Printf("lPath is abs: ")
home := getHomeDir()
lPath = path.Join(home, lPath)
}
Expand Down
2 changes: 0 additions & 2 deletions cmd/shelf/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package main

import (
"encoding/json"
"fmt"
"io"
"os"
"path"
Expand Down Expand Up @@ -39,7 +38,6 @@ func (db *DB) AddLink(filePath, linkPath string) {
// Strip any extra slashes at the prefix
l = strings.TrimPrefix(l, "/")

fmt.Printf("linkpath: %s, home: %s\n", linkPath, home)
db.Links[filePath] = path.Clean(l)
return
}
Expand Down

0 comments on commit 33c0f2c

Please sign in to comment.