Skip to content

Commit

Permalink
Merge pull request #6 from markdalgleish/move-cache-to-install-dir
Browse files Browse the repository at this point in the history
Move cache to install directory, fixes #4.
  • Loading branch information
tschaub committed Jun 24, 2014
2 parents 2824fd7 + 7834240 commit bf3a532
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/node_modules/
/.cache/
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var git = require('./git');
var copy = require('./util').copy;

function getCacheDir() {
return '.gh-pages';
return path.relative(process.cwd(), path.resolve(__dirname, '../.cache'));
}

function getRemoteUrl(dir, remote) {
Expand Down

0 comments on commit bf3a532

Please sign in to comment.