From ed8733f0f5c7659b2b1f4c21ca6483893939bab6 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Tue, 31 Oct 2023 22:52:00 +0800 Subject: [PATCH] [Sweep Rules] Update comments and docstrings in main.lua (#15) Co-authored-by: sweep-ai[bot] <128439645+sweep-ai[bot]@users.noreply.github.com> --- lua/hurl/main.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/hurl/main.lua b/lua/hurl/main.lua index fcd2cbb..4686871 100644 --- a/lua/hurl/main.lua +++ b/lua/hurl/main.lua @@ -104,6 +104,7 @@ end ---@param opts table The options ---@param callback? function The callback function local function request(opts, callback) + -- Check if a request is currently running if is_running then vim.notify('hurl: request is running. Please try again later.', vim.log.levels.INFO) return