diff options
author | Sean E. Russell <ser@ser1.net> | 2021-07-17 13:30:40 -0500 |
---|---|---|
committer | Sean E. Russell <ser@ser1.net> | 2021-07-17 13:30:40 -0500 |
commit | f2504155415032bc5271bb3e2fd1de4dd9c96262 (patch) | |
tree | 7deef59903f6280d7cd285a03970b2df14bc8d89 /cmd | |
parent | a1dc3a0b1c29d86205c4aff7720f7e549f60e991 (diff) | |
parent | 994e8bc4a47fbb2d8e218cec8cfeebc8b392238a (diff) |
Merge branch 'master' of github.com:xxxserxxx/gotop; fixes unreported bug where languages aren't listed.
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/gotop/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gotop/main.go b/cmd/gotop/main.go index 7f08626..ec6c11e 100644 --- a/cmd/gotop/main.go +++ b/cmd/gotop/main.go @@ -134,7 +134,7 @@ func parseArgs() error { return nil } fileName := info.Name() - if !strings.HasSuffix(fileName, ".toml") { + if strings.HasSuffix(fileName, ".toml") { fmt.Println(strings.TrimSuffix(fileName, ".toml")) } return nil |