@dragonshorn-studios/elyseum-cli 0.1.5 → 0.1.7

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.
@@ -1 +1 @@
1
- {"version":3,"file":"diff-coverage-command.d.ts","sourceRoot":"","sources":["../../src/commands/diff-coverage-command.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAChD,OAAe,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAGjD,qBAAa,mBAAoB,YAAW,OAAO;IACjD,IAAI,EAAE,MAAM,CAAmB;IAC/B,MAAM,CAAC,EAAE,YAAY,CAmBnB;gBACU,QAAQ,EAAE,UAAU;IAInB,GAAG,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;YA8E5B,qBAAqB;YAuIrB,iBAAiB;YAajB,eAAe;CA4E9B"}
1
+ {"version":3,"file":"diff-coverage-command.d.ts","sourceRoot":"","sources":["../../src/commands/diff-coverage-command.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAChD,OAAe,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAGjD,qBAAa,mBAAoB,YAAW,OAAO;IACjD,IAAI,EAAE,MAAM,CAAmB;IAC/B,MAAM,CAAC,EAAE,YAAY,CAqBnB;gBACU,QAAQ,EAAE,UAAU;IAInB,GAAG,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;YA8E5B,qBAAqB;YAuIrB,iBAAiB;YAajB,eAAe;CA4E9B"}
package/dist/index.js CHANGED
@@ -10006,10 +10006,10 @@ class GithubPRCommentCoverageReporter {
10006
10006
  let coverageQualityText = ``;
10007
10007
  if (qualityGate) {
10008
10008
  if (qualityGateFailed) {
10009
- coverageQualityText += `> [!CAUTION]\n### Coverage Quality Gate Failed ${qualityGateFailed}`;
10009
+ coverageQualityText += `> [!CAUTION]\n> ### Coverage Quality Gate Failed ${this.quality_gate_failed}`;
10010
10010
  }
10011
10011
  else {
10012
- coverageQualityText += `> [!TIP]\n### Coverage Quality Gate Passed ${qualityGateFailed}`;
10012
+ coverageQualityText += `> [!TIP]\n> ### Coverage Quality Gate Passed ${this.quality_gate_passed}\n`;
10013
10013
  }
10014
10014
  coverageQualityText += `> ${this.getIcon(diffCoverage.lines.percent)} Lines: ${diffCoverage.lines.percent.toFixed(2)}% (baseline: ${qualityGate}%)\n`;
10015
10015
  coverageQualityText += `> ${this.getIcon(diffCoverage.functions.percent)} Functions: ${diffCoverage.functions.percent.toFixed(2)}% (baseline: ${qualityGate}%)\n`;
@@ -39137,7 +39137,9 @@ class DiffCoverageCommand {
39137
39137
  help: "The base branch/sha to compare against",
39138
39138
  type: "str",
39139
39139
  required: false,
39140
- default: process.env.GITHUB_BASE_REF || "origin/main",
39140
+ default: process.env.GITHUB_BASE_REF
39141
+ ? `origin/${process.env.GITHUB_BASE_REF}`
39142
+ : "origin/main",
39141
39143
  },
39142
39144
  head: {
39143
39145
  help: "The head branch/sha to compare against",