refactor(): run prettier

This commit is contained in:
Daniel Sogl
2021-09-27 22:09:05 +02:00
parent 3896aca5aa
commit 99a0e0282d
31 changed files with 126 additions and 134 deletions
+3 -3
View File
@@ -5,11 +5,11 @@ module.exports = function readmes(renderDocsProcessor) {
description: 'Create jekyll includes',
$runAfter: ['paths-computed'],
$runBefore: ['rendering-docs'],
$process: docs => {
$process: (docs) => {
// pretty up and sort the docs object for menu generation
docs = docs.filter(doc => (!!doc.name && !!doc.outputPath) || doc.docType === 'index-page');
docs = docs.filter((doc) => (!!doc.name && !!doc.outputPath) || doc.docType === 'index-page');
docs.forEach(doc => {
docs.forEach((doc) => {
doc.outputPath = doc.outputPath.replace('src/@awesome-cordova-plugins/', '');
});