Skip to content
Snippets Groups Projects
Commit 35f27806 authored by syuilo's avatar syuilo
Browse files

Fix bug

parent cc6abf6f
No related branches found
No related tags found
No related merge requests found
{
"name": "misskey",
"author": "syuilo <i@syuilo.com>",
"version": "1.0.0",
"version": "0.0.1350",
"license": "MIT",
"description": "A miniblog-based SNS",
"bugs": "https://github.com/syuilo/misskey/issues",
......
import prominence = require('prominence');
import git = require('git-last-commit');
const getVersion = new Promise<string>(async resolve => {
const commit = await prominence(git).getLastCommit();
const package = require('../package.json');
const version = commit.shortHash;
const version = package.version;
resolve(version);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment