File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,6 @@ function serveTest(query, response)
239239 html . push ( h ( str_options ) ) ;
240240 html . push ( "</td>\n" ) ;
241241 html . push ( "\t</tr>\n" ) ;
242- html . push ( "</table>\n" ) ;
243242
244243 var compileTest = null ;
245244
@@ -249,13 +248,18 @@ function serveTest(query, response)
249248 }
250249 catch ( err )
251250 {
252- html . push ( '<div class="alert alert-error">Error: ' ) ;
251+ html . push ( '\t<tr>\n' ) ;
252+ html . push ( '\t\t<td>Error:</td>\n' ) ;
253+ html . push ( '\t\t<td>' ) ;
253254 html . push ( h ( err . message ) ) ;
254- html . push ( "</div>" ) ;
255- response . write ( JSON . stringify ( { "success" : true , "message" : "unable to create RegExp object" , "html" : html . join ( "" ) } ) ) ;
255+ html . push ( '</td>\n' ) ;
256+ html . push ( '\t</tr>\n' ) ;
257+ html . push ( '</table>\n' ) ;
258+ response . write ( JSON . stringify ( { "success" : false , "message" : "unable to create RegExp object" , "html" : html . join ( "" ) } ) ) ;
256259 response . end ( ) ;
257260 return ;
258261 }
262+ html . push ( "</table>\n" ) ;
259263
260264 html . push ( '<table class=\"table table-bordered table-striped\">\n' ) ;
261265
Original file line number Diff line number Diff line change 33# deploy the js backend to CloudFoundry
44#
55# NOTE: you may have to "vmc login" first
6- vmc update
6+ vmc push
You can’t perform that action at this time.
0 commit comments