LibJS: Use MUST() where applicable

This commit is contained in:
Linus Groh
2021-10-03 15:57:26 +01:00
parent 7cd3f7de61
commit 4d5bd092ea
Notes: sideshowbarker 2024-07-18 03:07:56 +09:00
14 changed files with 58 additions and 56 deletions

View File

@@ -805,7 +805,7 @@ ThrowCompletionOr<TemporalInstant> parse_temporal_instant_string(GlobalObject& g
// TODO
// 3. Let result be ! ParseISODateTime(isoString).
auto result = parse_iso_date_time(global_object, iso_string).release_value();
auto result = MUST(parse_iso_date_time(global_object, iso_string));
// 4. Let timeZoneResult be ? ParseTemporalTimeZoneString(isoString).
auto time_zone_result = TRY(parse_temporal_time_zone_string(global_object, iso_string));