MCPcopy
hub / github.com/electron/forge / commitVersion

Method commitVersion

tools/update-dependencies.js:57–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 }
56
57 get commitVersion() {
58 if (this.isMajorVersionBump()) {
59 return `^${this.latestVersion}`;
60 } else if (this.isMinorVersionBump()) {
61 return `~${this.latestVersion}`;
62 } else {
63 return this.latestVersion;
64 }
65 }
66
67 get minorVersionLocked() {
68 return packageJSON[this.type][this.name].startsWith('~');

Callers

nothing calls this directly

Calls 2

isMajorVersionBumpMethod · 0.95
isMinorVersionBumpMethod · 0.95

Tested by

no test coverage detected