Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
matteo-grella committed Nov 8, 2023
1 parent 31d2aba commit f0c0f0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tasks/tokenclassification/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func stripPrefix(label string) string {
switch {
case label == "O": // outside
return ""
case len(label) > 2:
case len(label) > 2 && label[1] == '-':
return label[2:]
default:
return label
Expand Down

0 comments on commit f0c0f0a

Please sign in to comment.