Skip to content

Commit

Permalink
[fix minor] Use path.join
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalecki committed Oct 1, 2011
1 parent b9b3129 commit 836ea31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/forever/monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ Monitor.prototype.watch = function () {
var self = this;

fs.readFile(
this.watchDirectory + '/.foreverignore', 'utf8',
path.join(this.watchDirectory, '.foreverignore'), 'utf8',
function (err, data) {
if (err) {
return self.warn('Could not read .foreverignore file: ' + err.message);
Expand Down

0 comments on commit 836ea31

Please sign in to comment.