chore(): fix readmes script

This commit is contained in:
Ibby Hadeed
2017-10-06 13:44:58 -04:00
parent d683b9e5df
commit e304ce0e53
+1 -1
View File
@@ -41,7 +41,7 @@ module.exports = currentVersion => {
docTypes: ['class'],
getOutputPath: doc => doc.originalModule.replace(config.pluginDir + '/', '')
.replace('/plugins', '')
.replace('/index', '/README.md')
.replace(/\/index$/, '/README.md')
}];
})