File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
registry/coder/modules/claude-code/scripts Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -103,13 +103,13 @@ task_session_exists() {
103103 local workdir_normalized=$( echo " $ARG_WORKDIR " | tr ' /' ' -' )
104104 local project_dir=" $HOME /.claude/projects/${workdir_normalized} "
105105
106- printf " PROJECT_DIR: %s, workdir_normalized: %s" " $project_dir " " $workdir_normalized "
106+ printf " PROJECT_DIR: %s, workdir_normalized: %s\n " " $project_dir " " $workdir_normalized "
107107
108108 if [ -d " $project_dir " ] && find " $project_dir " -type f -name " *${TASK_SESSION_ID} *" 2> /dev/null | grep -q . ; then
109- printf " TASK_SESSION_ID: %s file found" " $TASK_SESSION_ID "
109+ printf " TASK_SESSION_ID: %s file found\n " " $TASK_SESSION_ID "
110110 return 0
111111 else
112- printf " TASK_SESSION_ID: %s file not found" " $TASK_SESSION_ID "
112+ printf " TASK_SESSION_ID: %s file not found\n " " $TASK_SESSION_ID "
113113 return 1
114114 fi
115115}
@@ -180,10 +180,8 @@ function start_agentapi() {
180180 echo " Continue disabled, starting fresh session"
181181 if [ " $ARG_REPORT_TASKS " = " true" ]; then
182182 if task_session_exists; then
183- printf " YAYAYA"
184183 ARGS+=(--resume " $TASK_SESSION_ID " )
185184 else
186- printf " JAJAJA"
187185 ARGS+=(--session-id " $TASK_SESSION_ID " )
188186 fi
189187 fi
You can’t perform that action at this time.
0 commit comments