(project, targetVersion, currentVersion)
| 159 | } |
| 160 | |
| 161 | function shouldGoToVersionIndex(project, targetVersion, currentVersion) { |
| 162 | let boundaryVersion; |
| 163 | if (project === 'ember') { |
| 164 | boundaryVersion = '2.16'; |
| 165 | } else if (project === 'ember-data') { |
| 166 | boundaryVersion = '4.0'; |
| 167 | } |
| 168 | return isCrossingVersionBoundary( |
| 169 | targetVersion, |
| 170 | currentVersion, |
| 171 | boundaryVersion, |
| 172 | ); |
| 173 | } |
| 174 | |
| 175 | // Input some version info, returns a boolean based on |
| 176 | // whether the user is switching versions for a release or later. |
no test coverage detected