mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
ui: fix signin dialog
This commit is contained in:
3 files changed
+7
-15
No files matched your search
@@ -1,8 +0,0 @@
|
||||
const { writeFileSync } = require('fs');
|
||||
const argv = require('cac')().parse();
|
||||
const pkg = require('../package.json');
|
||||
|
||||
if (argv.options.dev) pkg.version = `${pkg.version}-dev`;
|
||||
else pkg.version = pkg.version.replace('-dev', '');
|
||||
|
||||
writeFileSync(`${process.cwd()}/package.json`, JSON.stringify(pkg, null, 2));
|
||||
Reference in new issue
Block a user