Skip to content

Commit cf3b6d8

Browse files
committed
Fix attach-jvm self-filtering
1 parent c25ec23 commit cf3b6d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interceptors/jvm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export class JvmInterceptor implements Interceptor {
8282
})
8383
.filter((target) =>
8484
// Exclude our own attacher and/or list-target queries from this list
85-
!target.name.includes(`-jar ${OVERRIDE_JAVA_AGENT}`)
85+
!target.name.includes(OVERRIDE_JAVA_AGENT)
8686
);
8787

8888
return {

0 commit comments

Comments
 (0)