Experimenting with github actions

This commit is contained in:
Pieter Vander Vennet 2021-04-11 02:57:34 +02:00
parent a1246fed7a
commit acb069b755
2 changed files with 4 additions and 2 deletions

View file

@ -202,7 +202,7 @@ if (missingLicenses.length > 0) {
const msg = `There are ${missingLicenses.length} licenses missing.`
console.error(msg)
if (process.argv.indexOf("--report") >= 0) {
writeFileSync("missing_licenses.txt", missingLicenses.join("\n"))
writeFileSync("missing_licenses.txt", missingLicenses.join("\n"))
}
if (process.argv.indexOf("--no-fail") < 0) {
throw msg