@sphido/core 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/get-pages.js +1 -1
- package/package.json +2 -2
package/lib/get-pages.js
CHANGED
|
@@ -21,7 +21,7 @@ export async function getPages({path = 'content', include = isPage} = {}, ...ext
|
|
|
21
21
|
|
|
22
22
|
// Read subdirectory recursively
|
|
23
23
|
if (dirent.isDirectory()) {
|
|
24
|
-
page.children = await getPages({path: page.path,
|
|
24
|
+
page.children = await getPages({path: page.path, include}, ...extenders);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
// Calling callbacks
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphido/core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Roman Ožana",
|
|
6
6
|
"email": "roman@ozana.cz",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"scripts": {
|
|
41
41
|
"test": "ava"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "f953ce926c0902ae92ba5d7d65b307b55af805c6"
|
|
44
44
|
}
|