File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ import * as docker from './docker';
33import * as system from './system' ;
44import * as utils from './utils' ;
55import { resolve , extname , relative } from 'path' ;
6- import { Observable , merge } from 'rxjs' ;
6+ import { Observable , merge , concat } from 'rxjs' ;
77import { fromPromise } from 'rxjs/observable/fromPromise' ;
8- import { concat , toArray } from 'rxjs/operators' ;
8+ import { toArray } from 'rxjs/operators' ;
99import { exists } from './fs' ;
1010import { readFile } from 'fs-extra' ;
1111import { reinitializeDatabase } from './db/migrations' ;
@@ -677,12 +677,11 @@ export function setupRoutes(): express.Router {
677677 } ) ;
678678
679679 router . get ( '/status' , ( req : express . Request , res : express . Response ) => {
680- const obs : any = concat ( ...[
680+ concat ( ...[
681681 system . isGitInstalled ( ) ,
682682 system . isSQLiteInstalled ( ) ,
683683 docker . isDockerInstalled ( )
684- ] ) ;
685- obs
684+ ] )
686685 . pipe ( toArray ( ) )
687686 . subscribe ( data => {
688687 if ( data [ 2 ] ) {
You can’t perform that action at this time.
0 commit comments