From c5c4494bf94ff69e42e3fac3254afd25e6aae0e8 Mon Sep 17 00:00:00 2001 From: Nikola Hristov Date: Sat, 14 Oct 2023 11:23:32 +0300 Subject: [PATCH] squash! --- Source/Index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Index.ts b/Source/Index.ts index b639f3f..e4968aa 100644 --- a/Source/Index.ts +++ b/Source/Index.ts @@ -26,8 +26,7 @@ export default (_Option: Option = {}): AstroIntegration => { const Paths = new Set(); if (typeof __Option["Path"] !== "undefined") { - if ( - __Option["Path"] instanceof Array || + if (Array.isArray(__Option["Path"]) || __Option["Path"] instanceof Set ) { for (const Path of __Option["Path"]) {