From 5daa483cdc9fb192747b685796ee6a08497b60e0 Mon Sep 17 00:00:00 2001 From: manunio Date: Fri, 13 Oct 2023 15:16:43 +0530 Subject: [PATCH] fix: remove unused variable --- src/doc/directives.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/directives.ts b/src/doc/directives.ts index 06fc5925..4b4d3d1f 100644 --- a/src/doc/directives.ts +++ b/src/doc/directives.ts @@ -149,7 +149,7 @@ export class Directives { if (prefix) { try { return prefix + decodeURIComponent(suffix) - } catch (error) { + } catch (_) { onError('Failed to decode suffix') } }