Skip to content

Commit

Permalink
moved gitIgnorepath definition before test
Browse files Browse the repository at this point in the history
  • Loading branch information
limeyd authored and possibilities committed Sep 18, 2012
1 parent 1f27a51 commit 12d39e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/project.js
Expand Up @@ -188,10 +188,10 @@ Project.prototype.execute = function(args, fn) {

Project.prototype._addToGitIgnore = function() {

var gitignorePath = path.join(this.meteorRoot, '.gitignore');
if (!fs.existsSync(gitignorePath))
return;

var gitignorePath = path.join(this.meteorRoot, '.gitignore');
var gitignoreContent = fs.readFileSync(gitignorePath, 'utf8');

// Add ./.meteor/meteorite to ./.meteor/.gitignore
Expand Down

0 comments on commit 12d39e8

Please sign in to comment.