File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -65,22 +65,22 @@ class ThemeLibraryFormatter extends AbstractUi5Formatter {
6565
6666 const absoluteSrcPath = path . join ( project . path , project . resources . configuration . paths . src ) ;
6767 const absoluteTestPath = path . join ( project . path , project . resources . configuration . paths . test ) ;
68- return Promise . all ( [
69- this . dirExists ( absoluteSrcPath ) . then ( function ( bExists ) {
70- if ( ! bExists ) {
71- throw new Error ( `Could not find source directory of project ${ project . id } : ` +
72- `${ absoluteSrcPath } ` ) ;
73- }
74- } ) ,
75- this . dirExists ( absoluteTestPath ) . then ( function ( bExists ) {
76- if ( ! bExists ) {
77- log . verbose ( `Could not find (optional) test directory of project ${ project . id } : ` +
78- `${ absoluteTestPath } ` ) ;
79- // Current signal to following consumers that "test" is not available is null
80- project . resources . configuration . paths . test = null ;
81- }
82- } )
83- ] ) ;
68+ // return Promise.all([
69+ // this.dirExists(absoluteSrcPath).then(function(bExists) {
70+ // if (!bExists) {
71+ // throw new Error(`Could not find source directory of project ${project.id}: ` +
72+ // `${absoluteSrcPath}`);
73+ // }
74+ // }),
75+ // this.dirExists(absoluteTestPath).then(function(bExists) {
76+ // if (!bExists) {
77+ // log.verbose(`Could not find (optional) test directory of project ${project.id}: ` +
78+ // `${absoluteTestPath}`);
79+ // // Current signal to following consumers that "test" is not available is null
80+ // project.resources.configuration.paths.test = null;
81+ // }
82+ // })
83+ // ]);
8484 } ) ;
8585 }
8686}
You can’t perform that action at this time.
0 commit comments