abstract-random-access
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -117,3 +117,3 @@ var EventEmitter = require('events').EventEmitter | ||
Abstract.prototype.end = function (options, callback) { | ||
if (typeof opened === 'function') return this.end(null, options) | ||
if (typeof options === 'function') return this.end(null, options) | ||
if (!callback) callback = noop | ||
@@ -120,0 +120,0 @@ |
{ | ||
"name": "abstract-random-access", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Base class for random access stores", | ||
@@ -5,0 +5,0 @@ "repository": "juliangruber/abstract-random-access", |
11
test.js
@@ -95,1 +95,12 @@ var tape = require('tape') | ||
}) | ||
tape('end', function (t) { | ||
var storage = random() | ||
storage.end({}, function (err) { | ||
t.error(err) | ||
storage.end(function (err) { | ||
t.error(err) | ||
t.end() | ||
}) | ||
}) | ||
}) |
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
6768
219