This commit is contained in:
Felix Wu
2018-07-28 23:50:37 +02:00
committed by Felix Wu
parent 57e72434a9
commit 013764a0f5
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 => {