From 381f14d11e870708c5156bacba40c6783e63f4fd Mon Sep 17 00:00:00 2001 From: Toki Date: Sun, 5 Nov 2023 10:10:36 +0900 Subject: [PATCH] =?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';