diff --git a/packages/globe_cli/lib/src/commands/update.dart b/packages/globe_cli/lib/src/commands/update.dart index a9fe4be..4210bcb 100644 --- a/packages/globe_cli/lib/src/commands/update.dart +++ b/packages/globe_cli/lib/src/commands/update.dart @@ -20,7 +20,7 @@ class UpdateCommand extends BaseGlobeCommand { @override FutureOr? run() async { final isUpToDate = await updater.isUpToDate( - packageName: package_info.name, + packageName: package_info.packageName, currentVersion: package_info.version, ); diff --git a/packages/globe_cli/lib/src/package_info.dart b/packages/globe_cli/lib/src/package_info.dart index a7489cb..9d6de38 100644 --- a/packages/globe_cli/lib/src/package_info.dart +++ b/packages/globe_cli/lib/src/package_info.dart @@ -5,3 +5,4 @@ const version = '0.0.13'; const description = 'The global deployment platform for Dart & Flutter applications.'; const executable = 'globe'; +const packageName = 'globe_cli';