File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -14,3 +14,13 @@ python -m seclab_taskflow_agent -t seclab_taskflows.taskflows.audit.identify_app
1414python -m seclab_taskflow_agent -t seclab_taskflows.taskflows.audit.gather_web_entry_point_info -g repo=" $1 "
1515python -m seclab_taskflow_agent -t seclab_taskflows.taskflows.audit.classify_application_local -g repo=" $1 "
1616python -m seclab_taskflow_agent -t seclab_taskflows.taskflows.audit.audit_issue_local_iter -g repo=" $1 "
17+
18+ # If in codespaces, open the results database.
19+ if [[ " ${CODESPACES:- } " == " true" ]]; then
20+ RESULTS_DB=~ /.local/share/seclab-taskflow-agent/seclab-taskflows/repo_context/repo_context.db
21+ if [ -f " $RESULTS_DB " ]; then
22+ if command -v code > /dev/null 2>&1 ; then
23+ code " $RESULTS_DB "
24+ fi
25+ fi
26+ fi
You can’t perform that action at this time.
0 commit comments