From 5f981e1940d395b465bdbf0e89bd99c55a01e380 Mon Sep 17 00:00:00 2001 From: Brogan Clements Date: Fri, 3 Dec 2021 13:41:58 -0500 Subject: [PATCH] Fix function definitions so all of them are defined in the same manner --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 294897f..5e0f3ab 100644 --- a/index.js +++ b/index.js @@ -31,7 +31,7 @@ const excludes = [ * * @return {Object} Returns an Object containing details about the piece of media. */ -let parseListItem = function (listItem) { +function parseListItem(listItem) { let stripParens = function (s) { if (s.slice(0,1) === "(" && s.slice(-1) === ")") return s.slice(1,-1); @@ -150,7 +150,7 @@ function getMediaFromDirectory(dir) { return mediaType; } -let parseMarkdown = function (doc) { +function parseMarkdown(doc) { let tree = remark.parse(doc).children; let sections = []; // This will go into root object later let errors = [];