From 313ef7aeb566eab7d93086ec4bfd962e9d8f6b42 Mon Sep 17 00:00:00 2001 From: jihuayu Date: Sat, 27 Jan 2024 18:06:10 +0800 Subject: [PATCH] format --- src/install.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/install.ts b/src/install.ts index 47dc441..f777f06 100644 --- a/src/install.ts +++ b/src/install.ts @@ -73,7 +73,7 @@ class UI { this.config.update('path', p.replace(homedir(), '~'), /*isUser=*/ true); } - localize(message: string, ...args: Array) { + localize(message: string, ...args: Array) { let ret = message; for (const i in args) { ret.replace(`{${i}}`, args[i].toString());