Skip to content

Commit

Permalink
fix: correctly parse String @context entries
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Sep 22, 2022
1 parent 882f407 commit 9edd402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/definitions/context_entry.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class ContextEntry {
if (json is String) {
if (firstEntry && _validTdContextValues.contains(json)) {
prefixMapping.defaultPrefixValue = json;
return ContextEntry(json, null);
}
return ContextEntry(json, null);
}

if (json is Map<String, dynamic>) {
Expand Down

0 comments on commit 9edd402

Please sign in to comment.