mirror of
https://github.com/MisskeyIO/misskey
synced 2024-12-11 21:29:03 +09:00
Clean up
This commit is contained in:
parent
2c7b320fe6
commit
296a884fdf
@ -40,8 +40,7 @@ import git from 'git-last-commit';
|
||||
* @return {Promise<object>}
|
||||
*/
|
||||
module.exports = (params) =>
|
||||
new Promise(async (res, rej) =>
|
||||
{
|
||||
new Promise(async (res, rej) => {
|
||||
const commit = await prominence(git).getLastCommit();
|
||||
|
||||
res({
|
||||
@ -49,4 +48,4 @@ module.exports = (params) =>
|
||||
commit: commit.shortHash,
|
||||
secure: config.https.enable
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user