chore: fix release tasks checking for bad directories (#6404)

This commit is contained in:
Beka Westberg
2022-09-01 21:00:59 +00:00
committed by GitHub
parent ec72e8bb4d
commit 517a72a16f

View File

@@ -82,8 +82,7 @@ function checkBranch(done) {
// Sanity check that the RELASE_DIR directory exists, and that certain
// files are in it.
function checkReleaseDir(done) {
const sanityFiles = ['blockly_compressed.js', 'blocks_compressed.js',
'core', 'blocks', 'generators'];
const sanityFiles = ['blockly_compressed.js', 'blocks_compressed.js'];
// Check that directory exists.
if (fs.existsSync(RELEASE_DIR)) {
// Sanity check that certain files exist in RELASE_DIR.