From 49c790a9c0fab943f52cd435e1ddb7480d4c4904 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pawe=C5=82=20Smyrek?=
Date: Thu, 21 Nov 2024 14:11:28 +0100
Subject: [PATCH] Search for package dependencies in snippet adapter only in
known directories where package can exist.
---
scripts/docs/snippetadapter.mjs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/docs/snippetadapter.mjs b/scripts/docs/snippetadapter.mjs
index c1f2ae80c76..adb05359d0f 100644
--- a/scripts/docs/snippetadapter.mjs
+++ b/scripts/docs/snippetadapter.mjs
@@ -558,7 +558,7 @@ function getPackageDependenciesPaths() {
absolute: true
};
- return globSync( [ 'packages/*/node_modules', 'external/*/packages/*/node_modules' ], globOptions )
+ return globSync( [ 'packages/*/node_modules', 'external/ckeditor5-commercial/packages/*/node_modules' ], globOptions )
.map( p => upath.normalize( p ) );
}