fix: git config typo

This commit is contained in:
NGPixel 2017-09-04 13:05:13 -04:00
parent 35cb56c694
commit dd73b036d2

View File

@ -54,8 +54,8 @@ module.exports = {
self.onReady = (wiki.IS_MASTER) ? self._initRepo() : Promise.resolve()
if (wiki.config.git) {
self._repo.branch = appconfig.git.branch || 'master'
self._signature.email = appconfig.git.serverEmail || 'wiki@example.com'
self._repo.branch = wiki.config.git.branch || 'master'
self._signature.email = wiki.config.git.serverEmail || 'wiki@example.com'
}
return self