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 {
65
65
66
66
const absoluteSrcPath = path . join ( project . path , project . resources . configuration . paths . src ) ;
67
67
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
+ // ]);
84
84
} ) ;
85
85
}
86
86
}
You can’t perform that action at this time.
0 commit comments