mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-15 09:15:44 +01:00
Clean up
This commit is contained in:
parent
2c7b320fe6
commit
296a884fdf
1 changed files with 9 additions and 10 deletions
|
@ -40,8 +40,7 @@ import git from 'git-last-commit';
|
||||||
* @return {Promise<object>}
|
* @return {Promise<object>}
|
||||||
*/
|
*/
|
||||||
module.exports = (params) =>
|
module.exports = (params) =>
|
||||||
new Promise(async (res, rej) =>
|
new Promise(async (res, rej) => {
|
||||||
{
|
|
||||||
const commit = await prominence(git).getLastCommit();
|
const commit = await prominence(git).getLastCommit();
|
||||||
|
|
||||||
res({
|
res({
|
||||||
|
|
Loading…
Reference in a new issue