()
| 95 | } |
| 96 | |
| 97 | format () { |
| 98 | this.version = `${this.major}.${this.minor}.${this.patch}` |
| 99 | if (this.prerelease.length) { |
| 100 | this.version += `-${this.prerelease.join('.')}` |
| 101 | } |
| 102 | return this.version |
| 103 | } |
| 104 | |
| 105 | toString () { |
| 106 | return this.version |
no outgoing calls
no test coverage detected