From 89ac15b4de53770df661ef494b2c56220ff69b1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Acid=20Chicken=20=28=E7=A1=AB=E9=85=B8=E9=B6=8F=29?= Date: Tue, 25 Dec 2018 16:49:35 +0900 Subject: [PATCH] Fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit split は不規則動詞 --- src/misc/acct/parse.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/misc/acct/parse.ts b/src/misc/acct/parse.ts index 164bd7bcd..b12074665 100644 --- a/src/misc/acct/parse.ts +++ b/src/misc/acct/parse.ts @@ -1,5 +1,5 @@ export default (acct: string) => { if (acct.startsWith('@')) acct = acct.substr(1); - const splitted = acct.split('@', 2); - return { username: splitted[0], host: splitted[1] || null }; + const split = acct.split('@', 2); + return { username: split[0], host: split[1] || null }; };