fix js errors
This commit is contained in:
parent
d0bbd8a4f6
commit
f9c679304b
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -31137,7 +31137,7 @@ function gather_information(debug = false, output = false) {
|
||||
if (debug) console.log("baseRef=" + baseRef);
|
||||
if (debug) console.log("headRef=" + headRef);
|
||||
// TODO support PR data
|
||||
} else if (!git_is_tag) {
|
||||
} else if (!r.git_is_tag) {
|
||||
// regular branches
|
||||
r.git_is_branch = true;
|
||||
}
|
||||
@ -31169,7 +31169,7 @@ function gather_information(debug = false, output = false) {
|
||||
r.semver_build = parsed.build;
|
||||
r.semver_pre = parsed.pre;
|
||||
}
|
||||
} else if (git_is_branch) {
|
||||
} else if (r.git_is_branch) {
|
||||
const parsed = parseSemVer(r.git_current_branch);
|
||||
if (debug) console.log("semver=" + JSON.stringify(parsed));
|
||||
|
||||
|
||||
@ -51,7 +51,7 @@ export function gather_information(debug = false, output = false) {
|
||||
if (debug) console.log("baseRef=" + baseRef);
|
||||
if (debug) console.log("headRef=" + headRef);
|
||||
// TODO support PR data
|
||||
} else if (!git_is_tag) {
|
||||
} else if (!r.git_is_tag) {
|
||||
// regular branches
|
||||
r.git_is_branch = true;
|
||||
}
|
||||
@ -83,7 +83,7 @@ export function gather_information(debug = false, output = false) {
|
||||
r.semver_build = parsed.build;
|
||||
r.semver_pre = parsed.pre;
|
||||
}
|
||||
} else if (git_is_branch) {
|
||||
} else if (r.git_is_branch) {
|
||||
const parsed = semverParser.parseSemVer(r.git_current_branch);
|
||||
if (debug) console.log("semver=" + JSON.stringify(parsed));
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user