Skip to content

Commit 6beddcc

Browse files
committed
chore: update scripts/dash.mjs (#412)
1 parent ad6b521 commit 6beddcc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/dash.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,8 @@ async function build() {
119119
console.info('compressing tgz');
120120
// https://github.com/node-modules/compressing/issues/42 建议最好休眠15s,等待其余资源复制完毕
121121
spawn("sleep", ['15'])
122-
const tgzPath = pathJoin(process.cwd(), '.deploy', 'linux-command.docset');
123122
const outputPath = pathJoin(process.cwd(), '.deploy', 'linux-command.docset.tgz');
124-
await tgz.compressDir(tgzPath, outputPath);
123+
await tgz.compressDir(DOCSET_DIR, outputPath);
125124
}
126125

127126
build()

0 commit comments

Comments
 (0)