@dragonshorn-studios/elyseum-cli 0.1.4 → 0.1.6
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,
|
|
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
|
@@ -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
|
|
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",
|
|
@@ -39172,18 +39174,20 @@ class DiffCoverageCommand {
|
|
|
39172
39174
|
"**/*.vue",
|
|
39173
39175
|
];
|
|
39174
39176
|
try {
|
|
39177
|
+
Logger.debug("Running diff-coverage command");
|
|
39178
|
+
Logger.debug(`head branch/sha: ${Config$1.get(this.name, "head")}, base branch/sha: ${Config$1.get(this.name, "base")}`);
|
|
39175
39179
|
let changedFiles = Config$1.get(this.name, "changed-files", "");
|
|
39176
39180
|
let headSha = await git.resolveRef({
|
|
39177
39181
|
fs: fs$2,
|
|
39178
39182
|
dir: process.cwd(),
|
|
39179
39183
|
ref: Config$1.get(this.name, "head"),
|
|
39180
39184
|
});
|
|
39185
|
+
Logger.debug(`Head SHA: ${headSha}`);
|
|
39181
39186
|
let baseSha = await git.resolveRef({
|
|
39182
39187
|
fs: fs$2,
|
|
39183
39188
|
dir: process.cwd(),
|
|
39184
39189
|
ref: Config$1.get(this.name, "base"),
|
|
39185
39190
|
});
|
|
39186
|
-
Logger.debug(`Head SHA: ${headSha}`);
|
|
39187
39191
|
Logger.debug(`Base SHA: ${baseSha}`);
|
|
39188
39192
|
Logger.debug(`Changed files: ${changedFiles}`);
|
|
39189
39193
|
let files = [];
|