File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
jvm/selfie-lib/src/jvmMain/kotlin/com/diffplug/selfie/guts Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (C) 2024 DiffPlug
2
+ * Copyright (C) 2024-2025 DiffPlug
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -55,7 +55,10 @@ actual data class CallLocation(
55
55
/* * Generates a CallLocation and the CallStack behind it. */
56
56
internal actual fun recordCall (callerFileOnly : Boolean ): CallStack =
57
57
StackWalker .getInstance().walk { frames ->
58
- val framesWithDrop = frames.dropWhile { it.className.startsWith(" com.diffplug.selfie" ) }
58
+ val framesWithDrop =
59
+ frames.dropWhile {
60
+ it.className.startsWith(" com.diffplug.selfie." ) || it.className.startsWith(" selfie." )
61
+ }
59
62
if (callerFileOnly) {
60
63
val caller =
61
64
framesWithDrop
You can’t perform that action at this time.
0 commit comments