File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,15 @@ module.exports = function(projectRoot) {
1616 if ( fs . existsSync ( configPath ) ) {
1717 flexiConfig = require ( configPath ) ;
1818
19- assert ( " config/flexi.js is defined, but could not be imported" , flexiConfig ) ;
20- assert ( " config/flexi.js is defined, but did not contain property [array] breakpoints" ,
19+ assert ( ' config/flexi.js is defined, but could not be imported' , flexiConfig ) ;
20+ assert ( ' config/flexi.js is defined, but did not contain property [array] breakpoints' ,
2121 flexiConfig . breakpoints instanceof Array ) ;
22- assert ( " config/flexi.js is defined, but did not contain property [number] columns" ,
22+ assert ( ' config/flexi.js is defined, but did not contain property [number] columns' ,
2323 typeof flexiConfig . columns === 'number' ) ;
2424
2525 } else {
26- assert ( "You must define a config file for flexi at '" + configPath + "'" ,
26+ assert ( `You must define a config file for flexi at '${ configPath } '.` +
27+ ' To generate a new config file, run `ember g flexi-config`' ,
2728 process . argv [ 2 ] === 'install' && process . argv [ 3 ] . indexOf ( 'flexi' ) !== - 1 ) ;
2829 }
2930
You can’t perform that action at this time.
0 commit comments