Skip to content

Commit

Permalink
chore: update scripts/dash.mjs (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Aug 30, 2022
1 parent ad6b521 commit 6beddcc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/dash.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,8 @@ async function build() {
console.info('compressing tgz');
// https://github.com/node-modules/compressing/issues/42 建议最好休眠15s,等待其余资源复制完毕
spawn("sleep", ['15'])
const tgzPath = pathJoin(process.cwd(), '.deploy', 'linux-command.docset');
const outputPath = pathJoin(process.cwd(), '.deploy', 'linux-command.docset.tgz');
await tgz.compressDir(tgzPath, outputPath);
await tgz.compressDir(DOCSET_DIR, outputPath);
}

build()
Expand Down

0 comments on commit 6beddcc

Please sign in to comment.