Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix version check

  • Loading branch information...
commit caf171f2a3b589b2db7776239215c8012af54b48 1 parent 2f2e724
@andrerod andrerod authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/azure.js
View
2  lib/azure.js
@@ -18,7 +18,7 @@ var exports = module.exports;
var azureutil = require('./util/util');
var nodeVersion = azureutil.getNodeVersion();
-if (nodeVersion.major === 0 && nodeVersion.minor > 8 && !(nodeVersion.minor === 10 && nodeVersion.patch >= 3)) {
+if (nodeVersion.major === 0 && nodeVersion.minor > 8 && !(nodeVersion.minor > 10 || (nodeVersion.minor === 10 && nodeVersion.patch >= 3))) {
throw new Error('The Windows Azure node SDK does not work with node versions > 0.8.22 and < 0.10.3. Please upgrade to node >= 0.10.3');
}
Please sign in to comment.
Something went wrong with that request. Please try again.