From 6531be9aa89f494d273101c334c39fe48df009f1 Mon Sep 17 00:00:00 2001 From: ransurf Date: Tue, 12 Dec 2023 17:56:05 -0800 Subject: [PATCH] remove unused delay function --- src/utils/utils.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/utils/utils.ts b/src/utils/utils.ts index 1c2e2b4..f39e7d1 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -8,10 +8,6 @@ import { Vault, } from 'obsidian'; -export function delay(ms: number): Promise { - return new Promise((resolve) => setTimeout(resolve, ms)); -} - export function escape_RegExp(str: string): string { return str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); // $& means the whole matched string }