heroku-client
Advanced tools
Comparing version 2.3.1 to 2.3.2
@@ -20,4 +20,5 @@ 'use strict'; | ||
function Request(options, callback) { | ||
this.options = options || {}; | ||
this.debug = options.debug; | ||
this.options = options || {}; | ||
this.debug = options.debug; | ||
this.debugHeaders = options.debugHeaders; | ||
if (this.debug) { | ||
@@ -180,2 +181,4 @@ q.longStackSupport = true; | ||
console.error('--> ' + req.method + ' ' + req.path); | ||
} | ||
if (this.debugHeaders) { | ||
printHeaders(req._headers); | ||
@@ -198,2 +201,4 @@ } | ||
console.error('<-- ' + res.statusCode + ' ' + res.statusMessage); | ||
} | ||
if (this.debugHeaders) { | ||
printHeaders(res.headers); | ||
@@ -200,0 +205,0 @@ } |
{ | ||
"name": "heroku-client", | ||
"description": "A wrapper for the Heroku v3 API", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"author": "Jonathan Clem", | ||
@@ -6,0 +6,0 @@ "bugs": { |
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
314678
9936