mirror of
https://github.com/BradNut/awesome-uses
synced 2025-09-08 17:40:31 +00:00
chore: run validate script only when run directly
This commit is contained in:
parent
130c43bb66
commit
c7691e3200
1 changed files with 3 additions and 1 deletions
|
|
@ -40,4 +40,6 @@ async function main() {
|
||||||
await communicateValidationOutcome(errors, failedUrls, data);
|
await communicateValidationOutcome(errors, failedUrls, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
main();
|
if (require.main === module) {
|
||||||
|
main();
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue