node-webhdfs
Advanced tools
Comparing version 0.0.4 to 0.1.0
{ | ||
"name": "node-webhdfs", | ||
"version": "0.0.4", | ||
"version": "0.1.0", | ||
"description": "A WebHDFS module for Node.js.", | ||
@@ -5,0 +5,0 @@ "author": "Ryan Cole <ryan@rycole.com> (http://rycole.com)", |
@@ -0,0 +0,0 @@ function RemoteException( message, exception ){ |
@@ -322,2 +322,3 @@ var querystring = require('querystring'), | ||
var args = _.defaults({ | ||
json: true, | ||
uri: this.base_url + path, | ||
@@ -334,3 +335,6 @@ qs: _.defaults({ | ||
if (error) return callback(error); | ||
if (typeof body === 'object' && 'RemoteException' in body){ | ||
return callback(new RemoteException(body)); | ||
} | ||
// execute callback | ||
@@ -337,0 +341,0 @@ return callback(null, body); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22741
499