Comparing version 0.1.4 to 0.1.5
@@ -24,3 +24,5 @@ var fs = require('fs'), | ||
if(e.code === 'ENOENT') { | ||
return callback(null, {statusCode: 404, headers:{}}); | ||
stream.statusCode = 404; | ||
stream.headers = {}; | ||
return callback(null, stream); | ||
} | ||
@@ -27,0 +29,0 @@ } |
{ | ||
"name": "faux-knox", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Mock requests to knox module using file system", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
9762
197