1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-04 17:58:39 +09:00
This commit is contained in:
syuilo 2017-03-23 01:26:46 +09:00
parent 8a369c994b
commit 4e387cf7d0

View File

@ -2,7 +2,7 @@
* Module dependencies * Module dependencies
*/ */
import prominence from 'prominence'; import prominence from 'prominence';
import getVersion from '../../version'; import version from '../../version';
import config from '../../conf'; import config from '../../conf';
/** /**
@ -39,8 +39,6 @@ import config from '../../conf';
* @return {Promise<any>} * @return {Promise<any>}
*/ */
module.exports = (params) => new Promise(async (res, rej) => { module.exports = (params) => new Promise(async (res, rej) => {
const version = await getVersion.then();
res({ res({
maintainer: config.maintainer, maintainer: config.maintainer,
version: version, version: version,