diff --git a/lib/commands/upgrade.dart b/lib/commands/upgrade.dart index 73231bc..539acef 100644 --- a/lib/commands/upgrade.dart +++ b/lib/commands/upgrade.dart @@ -96,7 +96,9 @@ class ELinuxUpgradeCommandRunner { if (currentVersion.hash == upstreamVersion.hash) { globals.printStatus('flutter-elinux is already up to date'); - globals.printStatus(upstreamVersion.gitTag!); + if (upstreamVersion.gitTag != null) { + globals.printStatus(upstreamVersion.gitTag!); + } return; }