Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Apr 29, 2011
1 parent fc2bc13 commit d2f963d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/view/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function View(view, options) {
this.name = this.basename.replace(this.extension, '');
this.path = this.resolvePath();
this.dirname = dirname(this.path);
options.attempts.push(this.path);
if (options.attempts) options.attempts.push(this.path);
};

/**
Expand Down

0 comments on commit d2f963d

Please sign in to comment.