mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-12 21:58:58 +09:00
Fix bug
This commit is contained in:
parent
8a369c994b
commit
4e387cf7d0
@ -2,7 +2,7 @@
|
||||
* Module dependencies
|
||||
*/
|
||||
import prominence from 'prominence';
|
||||
import getVersion from '../../version';
|
||||
import version from '../../version';
|
||||
import config from '../../conf';
|
||||
|
||||
/**
|
||||
@ -39,8 +39,6 @@ import config from '../../conf';
|
||||
* @return {Promise<any>}
|
||||
*/
|
||||
module.exports = (params) => new Promise(async (res, rej) => {
|
||||
const version = await getVersion.then();
|
||||
|
||||
res({
|
||||
maintainer: config.maintainer,
|
||||
version: version,
|
||||
|
Loading…
Reference in New Issue
Block a user