Skip to content

Commit

Permalink
Look in "meetings", not "es."
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed May 15, 2019
1 parent f70a79f commit def2ee0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function indentation(filename) {
}, 0);
}

glob("./es*/**/*.md", (error, results) => {
glob("./meetings/**/*.md", (error, results) => {
const links = [];
let meeting = "";

Expand All @@ -102,7 +102,7 @@ glob("./es*/**/*.md", (error, results) => {
const indent = indentWidth ? " ".repeat(indentWidth) : "";
const title = original.split('\n')[0].replace("# ", "").trim();
const fileName = file
.replace(/\.\/es.\//, "")
.replace(/\.\/meetings\//, "")
.replace(/(\d{4}-\d{2})\//, "$1_")
.replace(".md", ".html");

Expand Down
2 changes: 1 addition & 1 deletion scripts/toc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const yargv = yargs
const argv = yargv.argv;

if (argv.all) {
glob("./es+([0-9])/20[1-2][0-9]-[0-3][0-9]", (error, results) => {
glob("./meetings/20[1-2][0-9]-[0-3][0-9]", (error, results) => {
if (error) {
throw error;
}
Expand Down

0 comments on commit def2ee0

Please sign in to comment.