diff --git a/lib/index.js b/lib/index.js index 07b82d8c..a55c4916 100644 --- a/lib/index.js +++ b/lib/index.js @@ -10,7 +10,7 @@ const util = require('util'); const log = util.debuglog('gh-pages'); function getCacheDir() { - return path.relative(process.cwd(), path.resolve(__dirname, '../.cache')); + return path.relative(process.cwd(), '.cache/git'); } function getRepo(options) {