We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
scripts/dash.mjs
1 parent ad6b521 commit 6beddccCopy full SHA for 6beddcc
scripts/dash.mjs
@@ -119,9 +119,8 @@ async function build() {
119
console.info('compressing tgz');
120
// https://github.com/node-modules/compressing/issues/42 建议最好休眠15s,等待其余资源复制完毕
121
spawn("sleep", ['15'])
122
- const tgzPath = pathJoin(process.cwd(), '.deploy', 'linux-command.docset');
123
const outputPath = pathJoin(process.cwd(), '.deploy', 'linux-command.docset.tgz');
124
- await tgz.compressDir(tgzPath, outputPath);
+ await tgz.compressDir(DOCSET_DIR, outputPath);
125
}
126
127
build()
0 commit comments