Skip to content

Commit

Permalink
Fixed module exports
Browse files Browse the repository at this point in the history
  • Loading branch information
johvik committed Feb 13, 2014
1 parent 962ebbc commit 7accd4a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
exports = require('./lib/sandbox');
module.exports = require('./lib/sandbox');
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node_vm_sandbox",
"version": "0.0.2",
"version": "0.0.3",
"description": "Runs a script in a vm within a child process",
"author": "johvik",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion test/sandbox.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ process.env.NODE_ENV = 'test';
var path = require('path');
var should = require('should');

var sandbox = require('../lib/sandbox');
var sandbox = require('../');

describe('sandbox', function() {
it('should not run', function(done) {
Expand Down

0 comments on commit 7accd4a

Please sign in to comment.