Experimenting with GH Actions
This commit is contained in:
parent
ad53768ac7
commit
52bf5d73ce
3 changed files with 8 additions and 4 deletions
|
@ -202,7 +202,8 @@ 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"))
|
||||
console.log("Writing report!")
|
||||
writeFileSync("missing_licenses.txt", missingLicenses.join("\n"))
|
||||
}
|
||||
if (process.argv.indexOf("--no-fail") < 0) {
|
||||
throw msg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue