We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4249725 commit 16c4a08Copy full SHA for 16c4a08
scripts/dash.mjs
@@ -118,7 +118,9 @@ async function build() {
118
119
console.info('compressing tgz');
120
// https://github.com/node-modules/compressing/issues/42 建议最好休眠15s,等待其余资源复制完毕
121
- spawn("sleep", ['15'])
+ // 确保所有操作完成后再压缩
122
+ await new Promise(resolve => setTimeout(resolve, 30000)); // 增加到 30 秒
123
+
124
const outputPath = pathJoin(process.cwd(), '.deploy', 'linux-command.docset.tgz');
125
await tgz.compressDir(DOCSET_DIR, outputPath);
126
}
0 commit comments