(type?: string)
| 57 | return parsed; |
| 58 | }, |
| 59 | type(type?: string) { |
| 60 | if (!type) { |
| 61 | return ''; |
| 62 | } |
| 63 | |
| 64 | parseAssert( |
| 65 | 'type', |
| 66 | commitTypes.includes(type as CommitType), |
| 67 | 'Invalid commit type' |
| 68 | ); |
| 69 | |
| 70 | return type as CommitType; |
| 71 | }, |
| 72 | proxy(url?: string) { |
| 73 | if (!url || url.length === 0) { |
| 74 | return undefined; |
nothing calls this directly
no test coverage detected