clean up code
This commit is contained in:
parent
c6d3c10c8a
commit
96854572a0
6 changed files with 31 additions and 36 deletions
14
scripts/check-for-fauna-key.js
Normal file
14
scripts/check-for-fauna-key.js
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
const chalk = require('chalk')
|
||||
if (!process.env.FAUNADB_SECRET) {
|
||||
console.log('Please set supply a faunaDB server key')
|
||||
console.log(`
|
||||
=========================
|
||||
|
||||
In your terminal run the following command
|
||||
|
||||
export FAUNADB_SECRET=abcYourKeyHere
|
||||
|
||||
=========================
|
||||
`)
|
||||
process.exit(1)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue