(prUrlOrNumber: string)
| 151 | // the instance check for FatalMergeToolError should remain last as it will be truthy for |
| 152 | // all of the subclasses. |
| 153 | if (e instanceof FatalMergeToolError) { |
| 154 | Log.error(`Could not merge the specified pull request(s). Error:`); |
| 155 | Log.error(` -> ${bold(e.message)}`); |
| 156 | return false; |
| 157 | } |
| 158 | |
| 159 | // For unknown errors, always re-throw. |
| 160 | throw e; |
| 161 | } |
| 162 | |
| 163 | /** |
| 164 | * Creates the pull request merge tool using the given configuration options. |
| 165 | * |
no outgoing calls
no test coverage detected