Skip to content

fix: file handle leak, viewBox null check, and stale op_id bug#4

Open
deacon-mp wants to merge 1 commit intomasterfrom
fix/codebase-bugs
Open

fix: file handle leak, viewBox null check, and stale op_id bug#4
deacon-mp wants to merge 1 commit intomasterfrom
fix/codebase-bugs

Conversation

@deacon-mp
Copy link
Copy Markdown
Owner

Mirror of mitre/debrief PR mitre#81 for Copilot review

…eps_d3

- c_story.py: use context manager for svg.write() to prevent file handle leak
- c_story.py: add null check for missing viewBox attribute in adjust_icon_svgs
- debrief_svc.py: use operation.id instead of stale op_id loop variable in
  build_steps_d3 second loop (was referencing last value from first loop)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant