Commit 9ee1a1d4 authored by Dan Allen's avatar Dan Allen

rename variables in content classifier

- rename corpus to aggregate
- rename vfiles to files
- add test to find file by stem
- revise test descriptions
parent 0a26112a
......@@ -38,10 +38,10 @@ class ContentCatalog {
}
}
module.exports = (playbook, corpus) => {
module.exports = (playbook, aggregate) => {
const catalog = new ContentCatalog()
corpus.forEach(({ name, title, version, nav, files }) => {
aggregate.forEach(({ name, title, version, nav, files }) => {
files.forEach((file) => {
const pathSegments = file.path.split('/').filter((a) => a !== '')
partitionSrc(file, pathSegments, nav)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment