Skip to content

Commit c716ae7

Browse files
committed
fix: cache location
1 parent 40dc94b commit c716ae7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/specs/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ async function buildSpec({
7777
const basePath = docs ? 'docs/' : 'specs/';
7878
const deps = isLiteSpec ? ['search', 'recommend'] : [spec];
7979
const cache = new Cache({
80-
folder: toAbsolutePath(basePath),
80+
folder: toAbsolutePath('specs/'),
8181
generatedFiles: [`bundled/${spec}.yml`],
82-
filesToCache: [...deps, 'common'],
83-
cacheFile: toAbsolutePath(`${basePath}/dist/${spec}.cache`),
82+
filesToCache: deps,
83+
cacheFile: toAbsolutePath(`specs/dist/${spec}.cache`),
8484
});
8585

8686
const spinner = createSpinner(`starting '${spec}' ${logSuffix}`);

0 commit comments

Comments
 (0)