From 5ccc6a327e1d21715759e7c7392589d5103a61fd Mon Sep 17 00:00:00 2001 From: komuw Date: Sat, 2 Mar 2024 00:00:09 +0300 Subject: [PATCH] bugfix --- CHANGELOG.md | 3 +++ stack.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4dca6e9..c76c968 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ Most recent version is listed first. +# v0.0.21 +- Bugfix + # v0.0.20 - Support older Go versions: https://github.com/komuw/kama/pull/71 - Stackp can now write to any io.writer: https://github.com/komuw/kama/pull/74 diff --git a/stack.go b/stack.go index 14afdee..1e9cf51 100644 --- a/stack.go +++ b/stack.go @@ -77,7 +77,7 @@ func getStackTrace() []string { txtLast := "" txtLastButOne := "" for k := range frms { - if strings.Contains(frms[k].file, "/kama/") || strings.Contains(frms[k].file, "go/src/") { + if strings.Contains(frms[k].file, "komuw/kama") || strings.Contains(frms[k].file, "go/src/") { // Do not display expanded source code for this library or Go runtime. n = n + 1 } else {