File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ function fileGetter(url) {
9090 var f = url . slice ( 0 , - 5 ) ;
9191 console . log ( "MINIFYING JSON " + f ) ;
9292 var j = eval ( "(" + require ( "fs" ) . readFileSync ( url ) . toString ( "binary" ) + ")" ) ;
93- data = JSON . stringify ( j ) ;
93+ data = JSON . stringify ( j ) ; // FIXME we can do better for Espruino
9494 } else {
9595 var blob = require ( "fs" ) . readFileSync ( url ) ;
9696 if ( url . endsWith ( ".js" ) || url . endsWith ( ".json" ) )
@@ -117,7 +117,8 @@ exports.getAppFiles = function(app) {
117117 app . files = app . files . split ( "," ) . concat ( app . provides_modules ) . join ( "," ) ;
118118 }
119119 return AppInfo . getFiles ( app , getFileOptions ) . then ( files => { allFiles = allFiles . concat ( files ) ; return app ; } ) ;
120- }
120+ } ,
121+ showQuery : ( ) => Promise . resolve ( )
121122 } ;
122123 return AppInfo . checkDependencies ( app , device , uploadOptions ) .
123124 then ( ( ) => AppInfo . getFiles ( app , getFileOptions ) ) .
You can’t perform that action at this time.
0 commit comments