Skip to content

Commit

Permalink
Allow Admin UI JSON5 edit file
Browse files Browse the repository at this point in the history
  • Loading branch information
ks-yim committed Dec 10, 2021
1 parent d5eea3b commit aea4511
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ private static Entry<CommitMessageDto, Change<?>> commitMessageAndChange(Aggrega
case "JSON":
change = Change.ofJsonUpsert(file.getPath(), file.getContent());
break;
case "JSON5":
change = Change.ofJson5Upsert(file.getPath(), file.getContent());
break;
case "TEXT":
change = Change.ofTextUpsert(file.getPath(), file.getContent());
break;
Expand Down

0 comments on commit aea4511

Please sign in to comment.