Skip to content

Commit

Permalink
fix: change temp path to rcpress/core dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyi committed Jul 6, 2020
1 parent a1abf4a commit 0f17581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@rcpress/core/lib/node/prepare/resolveOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ module.exports = async function resolveOptions(sourceDir) {
};

// make tmp path
const tempPath = path.resolve(sourceDir, '.rcpress/.temp');
const tempPath = path.resolve(__dirname, '../../../.temp');
fs.ensureDirSync(tempPath);

// console.log('layoutPath:', themeLayoutPath);
Expand Down

0 comments on commit 0f17581

Please sign in to comment.