diff options
author | isaacs <i@izs.me> | 2011-02-12 03:16:18 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-02-12 03:16:18 +0300 |
commit | d876c4a5827366fdbd39787730abcde36142f7e6 (patch) | |
tree | 58d89c8629773b99f484d954c56ae573128b7760 /lib/utils/default-config.js | |
parent | 5ac308894fb8d55db552748eca3108011edf251e (diff) |
Closes GH-547 Split semver into a separate utility
Diffstat (limited to 'lib/utils/default-config.js')
-rw-r--r-- | lib/utils/default-config.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils/default-config.js b/lib/utils/default-config.js index 23d5c3698..b2191e080 100644 --- a/lib/utils/default-config.js +++ b/lib/utils/default-config.js @@ -3,7 +3,7 @@ var log = require("./log") , path = require("path") , hasSSL = false , sslWorks = false - , semver = require("./semver") + , semver = require("semver") try { hasSSL = !!(process.binding("crypto") && require("crypto")) @@ -13,7 +13,7 @@ try { // TODO: Change this version when node's SSL client can upload properly. // if (hasSSL) { - sslWorks = require("./semver").gt(process.version, "9999.9999.9999-9999") + sslWorks = semver.gt(process.version, "9999.9999.9999-9999") } if (!process.execPath) { |