@getmonoceros/workbench 1.37.11 → 1.37.13

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/bin.js CHANGED
@@ -8368,13 +8368,14 @@ Fix the value in the env file (or the yml).`
8368
8368
  const reposNeedingContainerIdentity = (createOpts.repos ?? []).some(
8369
8369
  (repo) => !repo.gitUser
8370
8370
  );
8371
- const hasContainerGitUser = parsed.config.git?.user !== void 0;
8372
- const hasDefaultGitUser = globalConfig?.defaults?.git?.user !== void 0;
8371
+ const hasResolvedContainerGitUser = containerGitOverride !== void 0;
8372
+ const defaultGitUser = globalConfig?.defaults?.git?.user;
8373
+ const hasDefaultGitUser = defaultGitUser?.name !== void 0 || defaultGitUser?.email !== void 0;
8373
8374
  const idLogger = {
8374
8375
  info: logger.info,
8375
8376
  warn: logger.warn ?? logger.info
8376
8377
  };
8377
- if (reposNeedingContainerIdentity || hasContainerGitUser || hasDefaultGitUser) {
8378
+ if (reposNeedingContainerIdentity || hasResolvedContainerGitUser || hasDefaultGitUser) {
8378
8379
  const identity = await collectGitIdentity(targetDir, {
8379
8380
  ...opts.identitySpawn ? { spawn: opts.identitySpawn } : {},
8380
8381
  ...opts.identityPrompt ? { prompt: opts.identityPrompt } : {},
@@ -8973,7 +8974,7 @@ var CLI_VERSION;
8973
8974
  var init_version = __esm({
8974
8975
  "src/version.ts"() {
8975
8976
  "use strict";
8976
- CLI_VERSION = true ? "1.37.11" : "dev";
8977
+ CLI_VERSION = true ? "1.37.13" : "dev";
8977
8978
  }
8978
8979
  });
8979
8980