Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Commit

Permalink
fix(Examples): Actually run the functions
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Feb 19, 2020
1 parent d1d941e commit 0907a34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/generate/examples.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* A script to generate example `*.html` files and `../examples/examples.ts`.
*
* Run using `npm run build:examples`.
* Run using `npm run generate:examples`.
*
* To add an example,
*
Expand Down Expand Up @@ -70,7 +70,7 @@ function articleAntibodies(): Promise<string | undefined> {
}

// Run each function
Promise.all(EXAMPLES).catch(err => console.error(err))
Promise.all(EXAMPLES.map(example => example())).catch(err => console.error(err))

// Generate `../examples/examples.ts`
fs.writeFileSync(
Expand Down

0 comments on commit 0907a34

Please sign in to comment.