Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/codeql-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@

name: "SysML2 Tools CodeQL Config"

# Exclude ANTLR4-generated parser files from all analysis
# Exclude ANTLR4-generated parser files and build-output/generated code from all analysis
paths-ignore:
- src/DemaConsulting.SysML2Tools/Parser/Antlr
- "**/obj/**"
- "**/bin/**"

# Query filters to disable specific queries for certain paths
query-filters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ private static LayoutBox MakePartBox(PartItem part, Rect rect, int depth)
{
var label = part.Typing is { Length: > 0 } ? $"{part.Name} : {part.Typing}" : part.Name;
var children = part.InnerContent is null
? (IReadOnlyList<LayoutNode>)[]
? []
: TranslateNodes(part.InnerContent, rect.X, rect.Y);

return new LayoutBox(
Expand Down
Loading