Skip to content

Commit 5b0c67d

Browse files
committed
Fixing NSObject plugin class names
1 parent 5f53cbb commit 5b0c67d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/Segment/Timeline.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ internal class Mediator {
7171
if let plugin = plugin as? DestinationPlugin, !plugin.key.isEmpty {
7272
it["plugin"] = "\(plugin.type)-\(plugin.key)"
7373
} else {
74-
it["plugin"] = "\(plugin.type)-\(String(describing: plugin))"
74+
it["plugin"] = "\(plugin.type)-\(String(describing: type(of: plugin)))"
7575
}
7676
}
7777
}
@@ -84,7 +84,7 @@ internal class Mediator {
8484
if let plugin = plugin as? DestinationPlugin, !plugin.key.isEmpty {
8585
it["plugin"] = "\(plugin.type)-\(plugin.key)"
8686
} else {
87-
it["plugin"] = "\(plugin.type)-\(String(describing: plugin))"
87+
it["plugin"] = "\(plugin.type)-\(String(describing: type(of: plugin)))"
8888
} }
8989
return plugin === storedPlugin
9090
}
@@ -109,7 +109,7 @@ internal class Mediator {
109109
if let plugin = plugin as? DestinationPlugin, !plugin.key.isEmpty {
110110
it["plugin"] = "\(plugin.type)-\(plugin.key)"
111111
} else {
112-
it["plugin"] = "\(plugin.type)-\(String(describing: plugin))"
112+
it["plugin"] = "\(plugin.type)-\(String(describing: type(of: plugin)))"
113113
} }
114114
}
115115
}

0 commit comments

Comments
 (0)