From 381f14d11e870708c5156bacba40c6783e63f4fd Mon Sep 17 00:00:00 2001 From: Toki Date: Sun, 5 Nov 2023 10:10:36 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=EB=A7=A5=20=EC=B6=9C=EB=A0=A5=20=EC=A0=9C?= =?UTF-8?q?=EB=8C=80=EB=A1=9C=20=EC=95=88=EB=82=98=EC=98=A4=EB=8A=94=20?= =?UTF-8?q?=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/cli/cli.dart | 4 ++-- lib/cli/commands/command_exe.dart | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/cli/cli.dart b/lib/cli/cli.dart index 684a15c..fb9c502 100644 --- a/lib/cli/cli.dart +++ b/lib/cli/cli.dart @@ -246,12 +246,12 @@ class _PrinterUnix extends Printer { Future printCLI(List printList) async { var c = Completer(); StringBuffer message = StringBuffer(); - message.writeln("echo -e '"); + message.writeln('echo -e "'); for (var item in printList) { message.writeln(item); } - message.write("'"); + message.write('"'); var temp = await getTempFile(message.toString(), 'sh'); await Process.run('zsh', [temp.path]).then((ProcessResult result) { diff --git a/lib/cli/commands/command_exe.dart b/lib/cli/commands/command_exe.dart index 7daefb1..189e360 100644 --- a/lib/cli/commands/command_exe.dart +++ b/lib/cli/commands/command_exe.dart @@ -10,8 +10,8 @@ class CommandExe extends CommandBase { @override Map> get arguments => { '-j': ["Used when it's a Jenkins build."], - '-f {file path}': ["Run the yaml file to process."], - '-t': ["This is the setup for testing."] + '-t': ["This is the setup for testing."], + '-f {file path}': ["Run the yaml file to process."] }; @override String get name => 'exe'; From 4da8006f213b1fb5d859147d45078065ec215d98 Mon Sep 17 00:00:00 2001 From: Toki Date: Sun, 5 Nov 2023 10:24:08 +0900 Subject: [PATCH 2/2] =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/oto/command.dart | 2 ++ lib/oto/test_data.dart | 1 + 2 files changed, 3 insertions(+) diff --git a/lib/oto/command.dart b/lib/oto/command.dart index f26b416..30d2cda 100644 --- a/lib/oto/command.dart +++ b/lib/oto/command.dart @@ -1,3 +1,5 @@ +// ignore_for_file: constant_identifier_names + import 'dart:async'; import 'package:oto_cli/oto/application.dart'; import 'package:oto_cli/oto/build/app_data_creator.dart'; diff --git a/lib/oto/test_data.dart b/lib/oto/test_data.dart index c572439..7f9256f 100644 --- a/lib/oto/test_data.dart +++ b/lib/oto/test_data.dart @@ -1,5 +1,6 @@ import 'dart:convert'; import 'dart:io'; +// ignore: depend_on_referenced_packages import 'package:yaml/yaml.dart' as yaml; import 'package:oto_cli/oto/build/build_flutter.dart';