File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -293,9 +293,9 @@ create_new_agent_file() {
293293
294294 # Perform substitutions with error checking using safer approach
295295 # Escape special characters for sed by using a different delimiter or escaping
296- local escaped_lang=$( printf ' %s\n' " $NEW_LANG " | sed ' s/[[\.*^$()+{}|]/\\&/g' )
297- local escaped_framework=$( printf ' %s\n' " $NEW_FRAMEWORK " | sed ' s/[[\.*^$()+{}|]/\\&/g' )
298- local escaped_branch=$( printf ' %s\n' " $CURRENT_BRANCH " | sed ' s/[[\.*^$()+{}|]/\\&/g' )
296+ local escaped_lang=$( printf ' %s\n' " $NEW_LANG " | sed ' s/[\ [\.*^$()+{}|]/\\&/g' )
297+ local escaped_framework=$( printf ' %s\n' " $NEW_FRAMEWORK " | sed ' s/[\ [\.*^$()+{}|]/\\&/g' )
298+ local escaped_branch=$( printf ' %s\n' " $CURRENT_BRANCH " | sed ' s/[\ [\.*^$()+{}|]/\\&/g' )
299299
300300 # Build technology stack and recent change strings conditionally
301301 local tech_stack
You can’t perform that action at this time.
0 commit comments