Skip to content

Commit

Permalink
remove initialize of this.path
Browse files Browse the repository at this point in the history
  • Loading branch information
popomore committed Jun 28, 2014
1 parent d95023f commit 7c71bf3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,12 @@ function File(file) {
if (!file) file = {};

// record path change
this.history = [];
this.history = file.path ? [file.path] : [];

// TODO: should this be moved to vinyl-fs?
this.cwd = file.cwd || process.cwd();
this.base = file.base || this.cwd;

this.path = file.path || null;

// stat = fs stats object
// TODO: should this be moved to vinyl-fs?
this.stat = file.stat || null;
Expand Down

0 comments on commit 7c71bf3

Please sign in to comment.