()
| 61 | } |
| 62 | |
| 63 | function checkVersion(): CheckResult { |
| 64 | const meta = getUpdateMeta(); |
| 65 | if (meta.updateAvailable && meta.latestVersion) { |
| 66 | return { |
| 67 | ok: false, |
| 68 | detail: `${VERSION} \u2192 ${meta.latestVersion} available`, |
| 69 | hint: "Run: hyperframes upgrade", |
| 70 | }; |
| 71 | } |
| 72 | return { ok: true, detail: `${VERSION} (latest)` }; |
| 73 | } |
| 74 | |
| 75 | function checkNode(): CheckResult { |
| 76 | return { ok: true, detail: `${process.version} (${process.platform} ${process.arch})` }; |
nothing calls this directly
no test coverage detected