Add GitHub token environment variable support and improve git operations

This commit is contained in:
Chris Scott committed 2025-11-30 21:05:30 -05:00
1 parent 025b2990ed
commit af0dcac7c8
11 files changed
+125 -21

No files matched your search

+3 -1
View File
@@ -4,6 +4,7 @@ import { logger } from './logger'
interface ExecuteCommandOptions {
cwd?: string
silent?: boolean
env?: Record<string, string>
}
export async function executeCommand(
@@ -19,7 +20,8 @@ export async function executeCommand(
const proc: ChildProcess = spawn(command || '', cmdArgs, {
cwd: options.cwd,
shell: false
shell: false,
env: { ...process.env, ...options.env }
})
let stdout = ''