File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ let packageJsonPath = `${process.cwd()}/package.json`,
10
10
packageJson = JSON . parse ( packageJsonContent ) ;
11
11
12
12
try {
13
- if ( undefined === packageJson . extra ) {
13
+ if ( undefined === packageJson . extra ) {
14
14
throw `node 'extra' is not defined` ;
15
15
}
16
- if ( undefined === packageJson . extra . node_parameter_handler ) {
17
- throw `node 'node_parameter_handler' in 'extra' is not defined`
16
+ if ( undefined === packageJson . extra . node_parameter_handler ) {
17
+ throw `node 'node_parameter_handler' in 'extra' is not defined` ;
18
18
}
19
- if ( ! Array . isArray ( packageJson . extra . node_parameter_handler ) ) {
20
- throw `node 'node_parameter_handler' in 'extra' is not array`
19
+ if ( ! Array . isArray ( packageJson . extra . node_parameter_handler ) ) {
20
+ throw `node 'node_parameter_handler' in 'extra' is not array` ;
21
21
}
22
22
23
23
const processor = new Processor ( packageJson . extra . node_parameter_handler , process . cwd ( ) ) ;
You can’t perform that action at this time.
0 commit comments