Skip to content

Commit

Permalink
apply review suggestion by @leonardehrenfried
Browse files Browse the repository at this point in the history
  • Loading branch information
miklcct committed Dec 12, 2024
1 parent 72d5765 commit e5f1f2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ private String includeFileDirective(String text, String source) {
// ignore the optional quotes matched by the directive pattern
var json = fileText.trim();
if (
json.startsWith("{") && json.endsWith("}") || json.startsWith("[") && json.endsWith("]")
(json.startsWith("{") && json.endsWith("}")) || (json.startsWith("[") && json.endsWith("]"))
) {
text = text.replace(entry.getKey(), fileText);
} else {
Expand Down

0 comments on commit e5f1f2f

Please sign in to comment.