Revert "chore(forge): add a pre-make wait as well"

This reverts commit a150047432c161084392304cd52422cd27a56214.
This commit is contained in:
Elian Doran 2025-06-21 14:18:31 +03:00
parent a150047432
commit c827b20e26
No known key found for this signature in database

View File

@ -213,7 +213,6 @@ const config: ForgeConfig = {
} }
// Wait for a while to ensure the file system operations are completed. // Wait for a while to ensure the file system operations are completed.
console.log("Waiting for file system operations to complete...");
await new Promise(resolve => setTimeout(resolve, 3000)); await new Promise(resolve => setTimeout(resolve, 3000));
}, },
// Gather all the artifacts produced by the makers and copy them to a common upload directory. // Gather all the artifacts produced by the makers and copy them to a common upload directory.
@ -240,10 +239,6 @@ const config: ForgeConfig = {
fs.copyFileSync(artifactPath, outputPath); fs.copyFileSync(artifactPath, outputPath);
} }
} }
},
preMake: async () => {
console.log("Waiting for file system operations to complete...");
await new Promise(resolve => setTimeout(resolve, 3000));
} }
} }
}; };