Comparing version 0.6.1 to 0.6.2
@@ -87,3 +87,3 @@ 'use strict'; | ||
} | ||
if (options.raw) { | ||
if ((options || {}).raw) { | ||
return cb(null, val); | ||
@@ -90,0 +90,0 @@ } |
{ | ||
"name": "octokat", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "Javascript GitHub client for NodeJS or a browser using promises or callbacks", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -68,3 +68,3 @@ const plus = require('./plus') | ||
if (err) { return cb(err) } | ||
if (options.raw) { return cb(null, val) } | ||
if ((options || {}).raw) { return cb(null, val) } | ||
@@ -71,0 +71,0 @@ if (!disableHypermedia) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
2420477
7264