diff --git a/sidekick_core/lib/sidekick_core.dart b/sidekick_core/lib/sidekick_core.dart index 57108e4d..0fac5c13 100644 --- a/sidekick_core/lib/sidekick_core.dart +++ b/sidekick_core/lib/sidekick_core.dart @@ -1,8 +1,6 @@ /// The core library for Sidekick CLIs library sidekick_core; -import 'dart:isolate'; - import 'package:cli_completion/cli_completion.dart'; import 'package:sidekick_core/sidekick_core.dart'; import 'package:sidekick_core/src/commands/update_command.dart'; @@ -297,7 +295,7 @@ class SidekickCommandRunner extends CompletionCommandRunner { // print warning if CLI update is available // TODO prevent multiple update checks when a command start another command - updateCheck = Isolate.run(_checkForUpdates); + updateCheck = _checkForUpdates(); } if (parsedArgs['version'] == true) {