(currentVersion, requiredVersion)
| 50 | } |
| 51 | |
| 52 | function _bootstrapVersionSatisfies(currentVersion, requiredVersion) { |
| 53 | if (String(currentVersion || '') === String(requiredVersion || '')) return true; |
| 54 | const cmp = _compareBootstrapSemver(currentVersion, requiredVersion); |
| 55 | return cmp !== null && cmp >= 0; |
| 56 | } |
| 57 | |
| 58 | function _failClosedForceUpdateBootstrap(backupName, entryName, error) { |
| 59 | const detail = error && error.message ? error.message : String(error || 'unknown error'); |
no test coverage detected