Skip to content

Commit

Permalink
Merge pull request #3 from jan-molak/master
Browse files Browse the repository at this point in the history
Ensure the installation path exists
  • Loading branch information
sanathkr authored Sep 29, 2017
2 parents 7040552 + 1b0d186 commit ff6d922
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ function getInstallationPath(callback) {
dir = stdout.trim();
}

mkdirp.sync(dir);

callback(null, dir);
});
Expand Down

0 comments on commit ff6d922

Please sign in to comment.