Prettier version differences mean this styles differently on CI vs locally: this should be fixed posthaste

pull/73/head
Skyler Grey 3 years ago
parent fa146f17c3
commit 5b2d911d3c
Signed by: Minion3665
GPG Key ID: 1AFD10256B3C714D

@ -18,7 +18,7 @@ function getEmojiPaths(obj: EmojisIndex, path: string[] = []) {
} }
getEmojiPaths(emojis); getEmojiPaths(emojis);
function getEmojiByName(name: typeof EMOJIPATHS[number], format?: string): string { function getEmojiByName(name: (typeof EMOJIPATHS)[number], format?: string): string {
const parts = name.split("."); const parts = name.split(".");
let id: string | EmojisIndex | EmojisIndex[] | undefined = emojis; let id: string | EmojisIndex | EmojisIndex[] | undefined = emojis;
for (const part of parts) { for (const part of parts) {

Loading…
Cancel
Save