We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85349f9 commit 52d0e54Copy full SHA for 52d0e54
1 file changed
scripts/install-npm-packages.mjs
@@ -612,6 +612,10 @@ async function installPackage(packageInfo) {
612
cwd: tempExtractDir,
613
})
614
615
+ // Wait briefly for filesystem to flush after tar extraction.
616
+ // This prevents reading truncated files on slower CI systems.
617
+ await new Promise(resolve => setTimeout(resolve, 100))
618
+
619
// Find the extracted directory (GitHub archives extract to reponame-commitish/).
620
const entries = await fs.readdir(tempExtractDir, {
621
withFileTypes: true,
0 commit comments