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