Refactoring
This commit is contained in:
parent
ef8b09a690
commit
8a369c994b
3 changed files with 86 additions and 100 deletions
|
@ -1,9 +1,7 @@
|
|||
const getVersion = new Promise<string>(async resolve => {
|
||||
const ぱっけーじ = require('../package.json');
|
||||
/**
|
||||
* Version
|
||||
*/
|
||||
|
||||
const version = ぱっけーじ.version;
|
||||
const meta = require('../package.json');
|
||||
|
||||
resolve(version);
|
||||
});
|
||||
|
||||
export default getVersion;
|
||||
export default meta.version as string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue