We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0cf26c commit 3a3e917Copy full SHA for 3a3e917
src/Playground.res
@@ -1457,13 +1457,9 @@ let make = (~versions: array<string>) => {
1457
| (None, Res)
1458
| (None, _) =>
1459
switch initialVersion {
1460
- | Some({CompilerManagerHook.Semver.major: major, minor, _}) =>
1461
- if major >= 10 && minor >= 1 {
1462
- InitialContent.since_10_1
1463
- } else {
1464
- InitialContent.original
1465
- }
1466
- | None => InitialContent.original
+ | Some({major: 10, minor}) if minor >= 1 => InitialContent.since_10_1
+ | Some({major}) if major > 10 => InitialContent.since_10_1
+ | _ => InitialContent.original
1467
}
1468
1469
0 commit comments