fix: git config typo
This commit is contained in:
parent
35cb56c694
commit
dd73b036d2
@ -54,8 +54,8 @@ module.exports = {
|
|||||||
self.onReady = (wiki.IS_MASTER) ? self._initRepo() : Promise.resolve()
|
self.onReady = (wiki.IS_MASTER) ? self._initRepo() : Promise.resolve()
|
||||||
|
|
||||||
if (wiki.config.git) {
|
if (wiki.config.git) {
|
||||||
self._repo.branch = appconfig.git.branch || 'master'
|
self._repo.branch = wiki.config.git.branch || 'master'
|
||||||
self._signature.email = appconfig.git.serverEmail || 'wiki@example.com'
|
self._signature.email = wiki.config.git.serverEmail || 'wiki@example.com'
|
||||||
}
|
}
|
||||||
|
|
||||||
return self
|
return self
|
||||||
|
Loading…
x
Reference in New Issue
Block a user