This commit is contained in:
Felix Wu
2018-07-28 23:50:37 +02:00
parent 486fe7edb2
commit 77b01a27b8
3 changed files with 10 additions and 7 deletions

View File

@ -33,7 +33,7 @@ const getFilesInDir = (directoryPath, withPath, exclude = null) => {
console.log(`${chalk.red('ERROR!')} During snippet loading: ${err}`);
process.exit(1);
}
}
};
// Synchronously read all snippets and sort them as necessary (case-insensitive)
const readSnippets = snippetsPath => {