mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-21 01:46:28 +08:00
core: fix lint
This commit is contained in:
1 parent
a68537cb30
commit
10a1de0741
2 files changed
+1
-4
No files matched your search
@@ -1,9 +1,6 @@
|
||||
|
||||
|
||||
const versionNum = +process.version.replace(/v/gim, '').split('.')[0];
|
||||
if (versionNum < 14) throw new Error('NodeJS >=v14 required');
|
||||
|
||||
|
||||
if (!global.Hydro) {
|
||||
global.Hydro = {
|
||||
version: {
|
||||
|
||||
Reference in new issue
Block a user