Skip to content

Commit

Permalink
rm comments
Browse files Browse the repository at this point in the history
  • Loading branch information
warrensbox committed Mar 3, 2020
1 parent 8f538af commit 83ef2aa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/symlink.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package lib

import (
"fmt"
"log"
"os"
)
Expand All @@ -24,7 +23,7 @@ func CreateSymlink(cwd string, dir string) {

//RemoveSymlink : remove symlink
func RemoveSymlink(symlinkPath string) {
fmt.Println(symlinkPath)

_, err := os.Lstat(symlinkPath)
if err != nil {
log.Fatalf(`
Expand All @@ -37,7 +36,7 @@ func RemoveSymlink(symlinkPath string) {
os.Exit(1)
} else {
errRemove := os.Remove(symlinkPath)
fmt.Println("ATTEMPING TO RM")

if errRemove != nil {
log.Fatalf(`
Unable to remove symlink.
Expand Down

0 comments on commit 83ef2aa

Please sign in to comment.