Skip to content

Commit

Permalink
Make AddToTagVisitor more targeted in its formatting.
Browse files Browse the repository at this point in the history
Previously it would sometimes format tags that came before the tag being inserted.
  • Loading branch information
sambsnyd committed Jul 29, 2024
1 parent 98b720b commit fc2c4b4
Show file tree
Hide file tree
Showing 3 changed files with 112 additions and 111 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public enum Scope {
Runtime,
Test,
System,
Import,
Invalid;

/**
Expand Down Expand Up @@ -110,6 +111,8 @@ public static Scope fromName(@Nullable String scope) {
return Test;
case "system":
return System;
case "import":
return Import;
default:
return Invalid;
}
Expand Down
Loading

0 comments on commit fc2c4b4

Please sign in to comment.