Permalink
Browse files

Fix version check

  • Loading branch information...
1 parent 2f2e724 commit caf171f2a3b589b2db7776239215c8012af54b48 Andre Rodrigues committed Apr 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/azure.js
View
@@ -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');
}

0 comments on commit caf171f

Please sign in to comment.