mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-06-06 04:35:20 +00:00
removed console log
This commit is contained in:
parent
705e80e5f2
commit
f123c5cfeb
@ -9,7 +9,6 @@ const generateComponentPaths = async (namespace) => {
|
||||
for (let index = 0; index < SLOTS.length; index++) {
|
||||
const slot = SLOTS[index];
|
||||
try {
|
||||
console.log(`${BASE_PATH}/${namespace}/${slot}`);
|
||||
const tree = await fsFileTree(`${BASE_PATH}/${namespace}/${slot}`);
|
||||
let comps = Object.keys(tree).filter((p) => p.indexOf(".njk") != -1).map((p) => `components/user/${namespace}/${slot}/${p}`);
|
||||
comps.sort()
|
||||
@ -28,6 +27,5 @@ module.exports = async () => {
|
||||
const ns = NAMESPACES[index];
|
||||
data[ns] = await generateComponentPaths(ns);
|
||||
}
|
||||
console.log(data);
|
||||
return data;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user