mirror of
https://github.com/rschamp/gh-pages.git
synced 2025-11-05 05:11:11 +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/
|
/node_modules/
|
||||||
|
/.cache/
|
||||||
|
|||||||
@ -11,7 +11,7 @@ var git = require('./git');
|
|||||||
var copy = require('./util').copy;
|
var copy = require('./util').copy;
|
||||||
|
|
||||||
function getCacheDir() {
|
function getCacheDir() {
|
||||||
return '.gh-pages';
|
return path.relative(process.cwd(), path.resolve(__dirname, '../.cache'));
|
||||||
}
|
}
|
||||||
|
|
||||||
function getRemoteUrl(dir, remote) {
|
function getRemoteUrl(dir, remote) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user