1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

WTF-504 Improve the default config

This commit is contained in:
Chris Cummer
2019-07-22 22:54:01 -07:00
parent 7a70ed75be
commit 0bc6965681
3 changed files with 66 additions and 28 deletions

View File

@@ -120,8 +120,6 @@ func (widget *Widget) formattedText() string {
func (widget *Widget) plainText() string {
filePath, _ := utils.ExpandHomeDir(widget.CurrentSource())
fmt.Println(filePath)
text, err := ioutil.ReadFile(filePath)
if err != nil {
return err.Error()