mirror of
https://github.com/rschamp/gh-pages.git
synced 2026-02-09 01:57:12 +08:00
Move cache to install directory, fixes #4
This commit is contained in:
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) {
|
||||
|
||||
Reference in New Issue
Block a user