@@ -167,7 +167,7 @@ class CompileServer extends EventEmitter {
167167 const board = store . getters [ 'boards/find' ] ( { query : { uuid : store . getters . currentBoard } } ) . data [ 0 ] ;
168168 if ( ! board ) return 'arduino:avr:uno' ;
169169 return Object . keys ( board . config )
170- . filter ( ( i ) => ! board . config_options
170+ . filter ( ( i ) => board . config [ i ] && ! board . config_options
171171 . find ( ( c ) => c . option === i ) . values
172172 . find ( ( v ) => v . value === board . config [ i ] ) . isDefault )
173173 . reduce ( ( a , i ) => `${ a } :${ i } =${ board . config [ i ] } ` , board . fqbn ) ;
@@ -202,13 +202,13 @@ class CompileServer extends EventEmitter {
202202 . map ( ( f ) => ( { content : f . body , name : `${ project . ref } /${ f . name } ` } ) ) ;
203203 this . emit ( 'console.progress' , { percent : 0 , message : 'Initialising Libraries...' } ) ;
204204 const libs = await this . _getLibs ( project ) ;
205- if ( libs . length ) {
206- await this . serverReq ( 'libraries/cache' , {
207- method : 'POST' ,
208- headers : { 'Content-Type' : 'application/json' } ,
209- body : JSON . stringify ( { libs } ) ,
210- } ) ;
211- }
205+ // if (libs.length) {
206+ // await this.serverReq('libraries/cache', {
207+ // method: 'POST',
208+ // headers: { 'Content-Type': 'application/json' },
209+ // body: JSON.stringify({ libs }),
210+ // });
211+ // }
212212 this . emit ( 'console.progress' , { percent : 0.25 * mod , message : 'Compiling code...' } ) ;
213213 const req = {
214214 fqbn : this . _getFqbn ( ) ,
0 commit comments