Skip to content

Commit

Permalink
chore: Modify cache dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Nov 30, 2019
1 parent fc0d8aa commit 24c2ffa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/create/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { moverDir } from '../utils/moverDir';
export default async (argv: typeof command) => {
const appName = argv._[0] ? argv._[0] : argv.appName;
const projectPath = path.join(process.cwd(), appName);
const cacheDirPath = path.join(projectPath, '.cache-tsbb');
const exampleDirPath = path.join(projectPath, '.cache-tsbb', 'example', argv.example);
const cacheDirPath = path.join(projectPath, '.cache-kkt');
const exampleDirPath = path.join(projectPath, '.cache-kkt', 'example', argv.example);
try {
if (argv.force) {
await fs.remove(projectPath);
Expand Down

0 comments on commit 24c2ffa

Please sign in to comment.