From b2bf4ab2c7c30ca06551312d2dd3520e2c58828e Mon Sep 17 00:00:00 2001 From: Haruki Date: Sat, 26 Aug 2023 22:05:21 +0900 Subject: [PATCH] =?UTF-8?q?replaceable=E3=82=AA=E3=83=97=E3=82=B7=E3=83=A7?= =?UTF-8?q?=E3=83=B3=E3=81=8C=E6=8C=87=E5=AE=9A=E3=81=95=E3=82=8C=E3=81=A6?= =?UTF-8?q?=E3=81=84=E3=81=AA=E3=81=84=E5=A0=B4=E5=90=88=E3=81=AFidentifie?= =?UTF-8?q?r=E3=81=8C=E6=8C=87=E5=AE=9A=E3=81=95=E3=82=8C=E3=81=A6?= =?UTF-8?q?=E3=81=84=E3=81=AA=E3=81=8F=E3=81=A6=E3=82=82=E5=85=A5=E5=8A=9B?= =?UTF-8?q?=E3=82=92=E6=B1=82=E3=82=81=E3=81=AA=E3=81=84=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nostrh/cmd/deploy/deploy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nostrh/cmd/deploy/deploy.go b/nostrh/cmd/deploy/deploy.go index 2598f9c..2030a62 100644 --- a/nostrh/cmd/deploy/deploy.go +++ b/nostrh/cmd/deploy/deploy.go @@ -170,7 +170,7 @@ func Deploy(basePath string, replaceable bool, htmlIdentifier string) (string, e } // htmlIdentifierの存在チェック - if len(htmlIdentifier) < 1 { + if replaceable && len(htmlIdentifier) < 1 { // htmlIdentifierが指定されていない場合はユーザー入力を受け取る reader := bufio.NewReader(os.Stdin) fmt.Print("⌨️ Please type identifier: ")