File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ function checkConfigFile () {
61
61
62
62
if ( errors . length === 0 ) {
63
63
Log . info ( colors . green ( "Your configuration file doesn't contain syntax errors :)" ) ) ;
64
+ validateModulePositions ( configFileName ) ;
64
65
} else {
65
66
let errorMessage = "Your configuration file contains syntax errors :(" ;
66
67
@@ -69,7 +70,9 @@ function checkConfigFile () {
69
70
}
70
71
throw new Error ( errorMessage ) ;
71
72
}
73
+ }
72
74
75
+ function validateModulePositions ( configFileName ) {
73
76
Log . info ( "Checking modules structure configuration ..." ) ;
74
77
75
78
const positionList = Utils . getModulePositions ( ) ;
@@ -116,7 +119,7 @@ function checkConfigFile () {
116
119
} else {
117
120
errorMessage += validate . errors [ 0 ] . message ;
118
121
}
119
- throw new Error ( errorMessage ) ;
122
+ Log . error ( errorMessage ) ;
120
123
}
121
124
}
122
125
You can’t perform that action at this time.
0 commit comments