rename scripts
This commit is contained in:
parent
4972623400
commit
ccdaf7ba31
2 changed files with 65 additions and 0 deletions
14
_check-for-fauna-key.js
Normal file
14
_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