@pushpalsdev/cli 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pushpals-cli.js +1 -1
- package/package.json +1 -1
package/dist/pushpals-cli.js
CHANGED
|
@@ -2323,7 +2323,7 @@ ${tail}` : ""}`);
|
|
|
2323
2323
|
reportRemoteBuddyAutonomousEngineState();
|
|
2324
2324
|
const scmHealthy = await probeSourceControlManager(opts.sourceControlManagerPort);
|
|
2325
2325
|
const scmRemoteAvailable = await repoHasRemote(opts.repoRoot, opts.sourceControlManagerRemote);
|
|
2326
|
-
const gitForScm = typeof runtimeEnv.
|
|
2326
|
+
const gitForScm = typeof runtimeEnv.PUSHPALS_GIT_BIN === "string" && runtimeEnv.PUSHPALS_GIT_BIN.trim() ? runtimeEnv.PUSHPALS_GIT_BIN.trim() : typeof runtimeEnv.PUSHPALS_GIT_BIN_ABSOLUTE === "string" && runtimeEnv.PUSHPALS_GIT_BIN_ABSOLUTE.trim() ? runtimeEnv.PUSHPALS_GIT_BIN_ABSOLUTE.trim() : "git";
|
|
2327
2327
|
const gitProbeCommand = [gitForScm, "--version"];
|
|
2328
2328
|
const gitAvailableForScm = await canSpawnCommand(gitProbeCommand, opts.repoRoot, runtimeEnv);
|
|
2329
2329
|
if (!scmHealthy && scmRemoteAvailable) {
|