File tree 1 file changed +0
-20
lines changed
1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -5,26 +5,6 @@ const {resolve} = require('path')
5
5
, pkg = require ( './package.json' )
6
6
, debug = require ( 'debug' ) ( `${ pkg . name } :boot` )
7
7
8
- , nameError =
9
- `*******************************************************************
10
- You need to give your app a proper name.
11
-
12
- The package name
13
-
14
- ${ pkg . name }
15
-
16
- isn't valid. If you don't change it, things won't work right.
17
-
18
- Please change it in ${ __dirname } /package.json
19
- ~ xoxo, bones
20
- ********************************************************************`
21
-
22
- const reasonableName = / ^ [ a - z 0 - 9 \- _ ] + $ /
23
- // RegExp.test docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/test
24
- if ( ! reasonableName . test ( pkg . name ) ) {
25
- console . error ( chalk . red ( nameError ) )
26
- }
27
-
28
8
// This will load a secrets file from
29
9
//
30
10
// ~/.your_app_name.env.js
You can’t perform that action at this time.
0 commit comments