mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-04-28 03:49:31 +00:00
refactor(e2e): normalize unused-arg comments in headless_env functions (#3113)
GCP, Sprite, and DigitalOcean had commented-out code `# local agent="$2"` in their `_headless_env` functions. Hetzner already used the cleaner style `# $2 = agent (unused but part of the interface)`. Normalize to match. Co-authored-by: spawn-qa-bot <qa@openrouter.ai> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f2f981bd0a
commit
b0f9f4e7af
3 changed files with 3 additions and 3 deletions
|
|
@ -73,7 +73,7 @@ _digitalocean_validate_env() {
|
|||
# ---------------------------------------------------------------------------
|
||||
_digitalocean_headless_env() {
|
||||
local app="$1"
|
||||
# local agent="$2" # unused but part of the interface
|
||||
# $2 = agent (unused but part of the interface)
|
||||
|
||||
printf 'export DO_DROPLET_NAME="%s"\n' "${app}"
|
||||
printf 'export DO_DROPLET_SIZE="%s"\n' "${DO_DROPLET_SIZE:-${_DO_DEFAULT_SIZE}}"
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ process.stdout.write(d.GCP_ZONE || '');
|
|||
# ---------------------------------------------------------------------------
|
||||
_gcp_headless_env() {
|
||||
local app="$1"
|
||||
# local agent="$2" # unused but part of the interface
|
||||
# $2 = agent (unused but part of the interface)
|
||||
|
||||
printf 'export GCP_INSTANCE_NAME="%s"\n' "${app}"
|
||||
printf 'export GCP_PROJECT="%s"\n' "${GCP_PROJECT:-}"
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ _sprite_validate_env() {
|
|||
# ---------------------------------------------------------------------------
|
||||
_sprite_headless_env() {
|
||||
local app="$1"
|
||||
# local agent="$2" # unused but part of the interface
|
||||
# $2 = agent (unused but part of the interface)
|
||||
|
||||
printf 'export SPRITE_NAME="%s"\n' "${app}"
|
||||
if [ -n "${_SPRITE_ORG}" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue