Преглед изворни кода

decreased required version of NodeJS to 18

Yury Bikuzin пре 10 месеци
родитељ
комит
7437844d45
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      node_build/make.js

+ 1 - 1
node_build/make.js

@@ -28,7 +28,7 @@ var LDFLAGS = process.env['LDFLAGS'];
 // case clang doesn't reliably support march except on x86/amd64.
 var NO_MARCH_FLAG = ['arm', 'ppc', 'ppc64', 'arm64'];
 
-if (process.version.replace('v','').split('.').map(Number)[0] >= 19) {
+if (process.version.replace('v','').split('.').map(Number)[0] >= 18) {
     // OK
 } else if ('OLD_NODE_VERSION_I_EXPECT_ERRORS' in process.env) {
     console.log('OLD_NODE_VERSION_I_EXPECT_ERRORS is set, ignoring old version');