Permalink
Browse files

[fix] Fix bad require path.

  • Loading branch information...
1 parent 665e1ec commit 4f72f8ced15f17abbf93b30d4404e5388a20c238 @AvianFlu AvianFlu committed Jun 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/forever/worker.js
View
@@ -3,7 +3,7 @@ var events = require('events'),
path = require('path'),
nssocket = require('nssocket'),
utile = require('utile'),
- forever = require(path.resolve('..', 'forever'));
+ forever = require(path.resolve(__dirname, '..', 'forever'));
var Worker = exports.Worker = function (options) {
events.EventEmitter.call(this);

0 comments on commit 4f72f8c

Please sign in to comment.