Compare commits
1 commit
b289a0dba3
...
e06c3030f4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e06c3030f4 |
1 changed files with 2 additions and 8 deletions
|
|
@ -414,14 +414,8 @@ build_graph_section() {
|
|||
--project-root "$PROJECT_REPO_ROOT" \
|
||||
--output "$report" 2>>"$LOG_FILE"; then
|
||||
# shellcheck disable=SC2034
|
||||
local report_content
|
||||
report_content="$(cat "$report")"
|
||||
# shellcheck disable=SC2034
|
||||
GRAPH_SECTION="
|
||||
## Structural analysis
|
||||
\`\`\`json
|
||||
${report_content}
|
||||
\`\`\`"
|
||||
GRAPH_SECTION=$(printf '\n## Structural analysis\n```json\n%s\n```\n' \
|
||||
"$(cat "$report")")
|
||||
log "graph report generated: $(jq -r '.stats | "\(.nodes) nodes, \(.edges) edges"' "$report")"
|
||||
else
|
||||
log "WARN: build-graph.py failed — continuing without structural analysis"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue