Skip to content

Commit 389f3b8

Browse files
committed
Fix package exports.
1 parent aef730f commit 389f3b8

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
'use strict';
2+
3+
var writable = require('./src/writable-cdb'),
4+
readable = require('./src/readable-cdb');
5+
6+
module.exports = {
7+
writable: writable,
8+
readable: readable
9+
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "constant-db",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "A cdb implementation for node.js",
55
"author": "Eric Norris",
66
"repository": {

src/index.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

test/cdb-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ vows.describe('cdb-test').addBatch({
189189
}).addBatch({
190190
'The CDB package\'s module.exports': {
191191
topic: function() {
192-
return require('../src');
192+
return require('../');
193193
},
194194

195195
'should have a writable CDB': function(index) {

0 commit comments

Comments
 (0)