Skip to content

Commit

Permalink
Merge pull request #69 from Auties00/_onLoggedIn
Browse files Browse the repository at this point in the history
Release 9.2.2
  • Loading branch information
Auties00 authored Jul 9, 2024
2 parents 00802ac + a250501 commit 170a878
Show file tree
Hide file tree
Showing 12 changed files with 126 additions and 783 deletions.
2 changes: 1 addition & 1 deletion cli/lib/src/server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Future<bool> startServerCli(String? host, int? port, ServerType type) async {
stdout.writeln("Starting backend server...");
switch(type){
case ServerType.local:
var result = await pingBackend(host ?? kDefaultBackendHost, port ?? kDefaultBackendPort);
final result = await pingBackend(host ?? kDefaultBackendHost, port ?? kDefaultBackendPort);
if(result == null){
throw Exception("Local backend server is not running");
}
Expand Down
3 changes: 1 addition & 2 deletions common/lib/src/model/server_result.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ enum ServerResultType {
freePortError,
pingingRemote,
pingingLocal,
pingError,
processError;
pingError;

bool get isError => name.contains("Error");

Expand Down
Loading

0 comments on commit 170a878

Please sign in to comment.