Skip to content

Commit

Permalink
Fix bug in interactive mode
Browse files Browse the repository at this point in the history
  • Loading branch information
spiegel-im-spiegel committed Feb 11, 2019
1 parent d54d11d commit b3de146
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cli/mklink/facade/interactive.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package facade

import (
"bytes"
"fmt"
"io"

"github.com/atotto/clipboard"
Expand Down Expand Up @@ -30,7 +29,6 @@ func interactiveMode(ui *rwi.RWI, cxt *makelink.Context) error {
if _, err := io.Copy(buf, r); err != nil {
return "", err
}
fmt.Fprintln(buf)
res := buf.String()
return res, clipboard.WriteAll(res)
},
Expand Down

0 comments on commit b3de146

Please sign in to comment.