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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user