summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorSean E. Russell <ser@ser1.net>2021-07-17 13:30:40 -0500
committerSean E. Russell <ser@ser1.net>2021-07-17 13:30:40 -0500
commitf2504155415032bc5271bb3e2fd1de4dd9c96262 (patch)
tree7deef59903f6280d7cd285a03970b2df14bc8d89 /cmd
parenta1dc3a0b1c29d86205c4aff7720f7e549f60e991 (diff)
parent994e8bc4a47fbb2d8e218cec8cfeebc8b392238a (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.go2
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