File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ if (frameworks.length === 0) {
12
12
for ( let framework of frameworks ) {
13
13
let dir = 'frameworks/' + framework ;
14
14
console . log ( "rebuilding " + framework ) ;
15
- if ( ! fs . existsSync ( dir ) ) console . log ( "ERROR: directory " + dir + " not found" ) ;
15
+ if ( ! fs . existsSync ( dir ) ) throw "ERROR: directory " + dir + " not found" ;
16
16
else {
17
17
console . log ( "running rm -rf package-lock.json yarn.lock dist elm-stuff bower_components node_modules" ) ;
18
18
try {
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ function isKeyedSwapRow(result: any): boolean {
109
109
110
110
async function runBench ( frameworkNames : string [ ] ) {
111
111
let runFrameworks = frameworks . filter ( f => frameworkNames . some ( name => f . fullNameWithKeyedAndVersion . indexOf ( name ) > - 1 ) ) ;
112
- console . log ( "Frameworks that will be checked" , runFrameworks . map ( f => f . fullNameWithKeyedAndVersion ) ) ;
112
+ console . log ( "Frameworks that will be checked" , runFrameworks . map ( f => f . fullNameWithKeyedAndVersion ) . join ( ' ' ) ) ;
113
113
114
114
let frameworkMap = new Map < String , FrameworkData > ( ) ;
115
115
frameworks . forEach ( f => frameworkMap . set ( f . fullNameWithKeyedAndVersion , f ) ) ;
You can’t perform that action at this time.
0 commit comments