mirror of
https://github.com/scratchfoundation/gh-pages.git
synced 2024-11-28 18:25:38 -05:00
Merge pull request #6 from markdalgleish/move-cache-to-install-dir
Move cache to install directory, fixes #4.
This commit is contained in:
commit
bf3a5323b0
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
/node_modules/
|
||||
/.cache/
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue