Skip to content

Commit c38e150

Browse files
committed
www: check_assets.js should allow for blank lines in expected assets list
1 parent 0457711 commit c38e150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup/www/tools/promote/check_assets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ async function loadExpectedAssets (version, line) {
107107
try {
108108
const templateFile = path.join(__dirname, 'expected_assets', line)
109109
let files = await fs.readFile(templateFile, 'utf8')
110-
return files.replace(/{VERSION}/g, version).split(/\n/g)
110+
return files.replace(/{VERSION}/g, version).split(/\n/g).filter(Boolean)
111111
} catch (e) { }
112112
return null
113113
}

0 commit comments

Comments
 (0)