From 86085b42d095f86df14a3bab11a8e97fce4b4cb8 Mon Sep 17 00:00:00 2001 From: FE Date: Fri, 14 Nov 2025 10:56:49 +0900 Subject: [PATCH] =?UTF-8?q?dart=20framework=20update=20&=20=EC=9D=B8?= =?UTF-8?q?=ED=84=B0=ED=8E=98=EC=9D=B4=EC=8A=A4=20=EB=A7=9E=EC=B6=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/cli/cli.dart | 4 ++-- lib/oto/application.dart | 2 +- lib/oto/commands/build/build_ios.dart | 4 ++-- lib/oto/commands/command.dart | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/cli/cli.dart b/lib/cli/cli.dart index d9cbba7..dbea453 100644 --- a/lib/cli/cli.dart +++ b/lib/cli/cli.dart @@ -121,8 +121,8 @@ class CLI { } static final commandNameSpace = 21; - static get serviceName => CLI.current.config.serviceName; - static get executableFileName => CLI.current.config.executableFileName; + static String get serviceName => CLI.current.config.serviceName; + static String get executableFileName => CLI.current.config.executableFileName; static Future print(List printList, {Color? color, Color? background}) async { diff --git a/lib/oto/application.dart b/lib/oto/application.dart index 3c0b877..ab9d584 100644 --- a/lib/oto/application.dart +++ b/lib/oto/application.dart @@ -52,7 +52,7 @@ class Application { late Pipeline pipeline; late BuildType _buildType; - get buildType { + BuildType get buildType { return _buildType; } diff --git a/lib/oto/commands/build/build_ios.dart b/lib/oto/commands/build/build_ios.dart index b5408a5..05acb10 100644 --- a/lib/oto/commands/build/build_ios.dart +++ b/lib/oto/commands/build/build_ios.dart @@ -68,7 +68,7 @@ class BuildiOS extends Command { 'REPLACED_WITH_NEW_VERSION' ]; List jsonArr; - String? readyForSaleVersion = null; + String? readyForSaleVersion; for (var item in arr) { if (item.contains(result)) { jsonArr = @@ -123,7 +123,7 @@ class BuildiOS extends Command { if (targetBuildNumber == null) { throw Exception('Can not find target build number.'); } - buildNumber = incrementVersion(targetBuildNumber, fixedLength: 4); + buildNumber = incrementVersion(targetBuildNumber, fixedLength: 4, reverse: true ); } String? target = data.target; diff --git a/lib/oto/commands/command.dart b/lib/oto/commands/command.dart index ca3288d..f40834a 100644 --- a/lib/oto/commands/command.dart +++ b/lib/oto/commands/command.dart @@ -270,7 +270,7 @@ abstract class Command { if (match == null) { throw Exception('Please put the correct value. (ex: <@property.value>)'); } - tag = match!.group(2)!; + tag = match.group(2)!; if (tag.startsWith('property')) { var key = tag.replaceFirst('property.', ''); Application.instance.property[key] = value;