diff --git a/lib/node.js b/lib/node.js index f8ccc79..676d645 100644 --- a/lib/node.js +++ b/lib/node.js @@ -37,7 +37,9 @@ export const Node = { getMarkdownFolder: function() { const notesDir = path.join(process.cwd(), 'notes') - if (!Node.isFile(notesDir)) throw new Error("The notes directory has not been created yet") + if (!Node.isFile(notesDir)) { + console.warn("Notes Directory does not seem to exist: ", notesDir) + } return notesDir } }