chore(): fix readmes script

This commit is contained in:
Ibby Hadeed 2017-10-06 13:44:58 -04:00
parent d683b9e5df
commit e304ce0e53
No known key found for this signature in database
GPG Key ID: FAFF5A8210728800

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')
}];
})