From 5f2b5a2ad1ba03798a27bd271001749627b6499c Mon Sep 17 00:00:00 2001 From: Chima Precious Date: Wed, 11 Dec 2024 15:42:21 +0300 Subject: [PATCH] fix: Use actual package name (#121) --- 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';