mirror of
https://github.com/rschamp/gh-pages.git
synced 2025-05-22 15:47:56 +08:00
Move cache to install directory, fixes #4
This commit is contained in:
parent
2824fd7ee9
commit
7834240b67
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…
x
Reference in New Issue
Block a user