diff --git a/Source/Function/Integration.ts b/Source/Function/Integration.ts index 1b551a4..669ce96 100644 --- a/Source/Function/Integration.ts +++ b/Source/Function/Integration.ts @@ -24,7 +24,7 @@ export default (Options: Option = {}): AstroIntegration => { if (typeof _options["path"] !== "undefined") { if ( - _options["path"] instanceof Array || + Array.isArray(_options["path"]) || _options["path"] instanceof Set ) { for (const path of _options["path"]) {