From 5dc18703ef9c06ef238bef38bf6819923d9d794a Mon Sep 17 00:00:00 2001 From: Chima Precious Date: Wed, 11 Dec 2024 11:53:35 +0000 Subject: [PATCH] use actual package name --- packages/globe_cli/lib/src/commands/update.dart | 2 +- packages/globe_cli/lib/src/package_info.dart | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/globe_cli/lib/src/commands/update.dart b/packages/globe_cli/lib/src/commands/update.dart index a9fe4bed..4210bcba 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 a7489cb9..9d6de38c 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';