Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix issues
  • Loading branch information
codekeyz committed Apr 29, 2025
commit 697da1f9e6110addfcdf09807e9cbe6b95379eaf
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,15 @@ final class RuntimeVersion {

Future<RuntimeVersion> getLatestVersion() async {
final url = Uri.parse(
'https://api.github.com/repos/invertase/globe_runtime/releases/latest');
'https://api.github.com/repos/invertase/globe_runtime/releases/latest',
);
final response = await http.get(url);
if (response.statusCode != 200) {
throw Exception('Failed to fetch release info');
}
return RuntimeVersion.fromJson(
jsonDecode(response.body) as Map<String, dynamic>);
jsonDecode(response.body) as Map<String, dynamic>,
);
}

class RuntimeInstallCommand extends BaseGlobeCommand {
Expand Down
Loading