Skip to content

Commit

Permalink
Actually check for 'ignore-git' argument
Browse files Browse the repository at this point in the history
  • Loading branch information
frdmn committed Jun 8, 2015
1 parent 1351cc6 commit df6f109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ function replaceInFiles(searchFor, replaceWith, filesToWorkWith){

/* Prompt */

if (checkIfCwdIsGitRepository()) {
if (!argv['ignore-git'] && checkIfCwdIsGitRepository()) {
logError('Current directory is already an exisiting git repository!');
return false;
} else {
Expand Down

0 comments on commit df6f109

Please sign in to comment.