@codedrifters/configulator 0.0.110 → 0.0.111

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/lib/index.js CHANGED
@@ -467,7 +467,9 @@ var AwsDeploymentConfig = class _AwsDeploymentConfig extends import_projen.Compo
467
467
  this.project.tasks.tryFind("synth:silent")?.reset(`rm -rf ${this.cdkOut}`);
468
468
  this.project.tasks.tryFind("synth:silent")?.exec(`cdk synth -q --output ${this.cdkOut}`, { env: this.env });
469
469
  };
470
- this.env = { GIT_BRANCH_NAME: "$(git branch --show-current)" };
470
+ this.env = {
471
+ GIT_BRANCH_NAME: "${GIT_BRANCH_NAME:-$(git branch --show-current)}"
472
+ };
471
473
  this.projectPath = (0, import_node_path.relative)(project.root.outdir, project.outdir);
472
474
  this.rootPath = (0, import_node_path.relative)(project.outdir, project.root.outdir);
473
475
  this.rootCdkOut = (0, import_node_path.join)("dist", this.projectPath, "cdk.out");