Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: narrow forge auth subprocess options to its callers

[._.]/ Adam Eivy0aa53a21dab6
diff --git a/server/services/forgeAuth.js b/server/services/forgeAuth.js
index cff840cf6f..f84e956855 100644
--- a/server/services/forgeAuth.js
+++ b/server/services/forgeAuth.js
@@ -7,9 +7,9 @@ import { spawn } from '../lib/childProcess.js';
import { execGitSafe } from '../lib/execGit.js';
import { parseGitRemote, detectForgeCli, pickGhAccountForOwner } from '../lib/gitForge.js';
-function spawnCli(cmd, args, options = {}) {
+function spawnCli(cmd, args) {
return new Promise((resolve) => {
- const child = spawn(cmd, args, { shell: false, ...options });
+ const child = spawn(cmd, args, { shell: false });
let stdout = '', stderr = '';
child.stdout.on('data', (d) => { stdout += d.toString(); });
child.stderr.on('data', (d) => { stderr += d.toString(); });