File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import StoreBase from './StoreBase';
1717import { is , quote } from '../../common/utils' ;
1818import * as raxmlSettings from '../../settings/raxml' ;
1919import * as ipc from '../../constants/ipc' ;
20- import _ from 'lodash' ;
20+ import remove from 'lodash/remove ' ;
2121import UserFixError from '../../common/errors' ;
2222
2323const readFile = util . promisify ( fs . readFile ) ;
@@ -1405,7 +1405,7 @@ class Run extends StoreBase {
14051405 default :
14061406 }
14071407 // Remove items that are only empty strings
1408- cmdArgs . forEach ( ( args ) => _ . remove ( args , ( n ) => n === '' ) ) ;
1408+ cmdArgs . forEach ( ( args ) => remove ( args , ( n ) => n === '' ) ) ;
14091409 return cmdArgs . filter ( ( args ) => args . length > 0 ) ;
14101410 } ;
14111411
@@ -1898,7 +1898,7 @@ class Run extends StoreBase {
18981898 default :
18991899 }
19001900 // Remove items that are only empty strings
1901- cmdArgs . forEach ( ( args ) => _ . remove ( args , ( n ) => n === '' ) ) ;
1901+ cmdArgs . forEach ( ( args ) => remove ( args , ( n ) => n === '' ) ) ;
19021902 return cmdArgs . filter ( ( args ) => args . length > 0 ) ;
19031903 } ;
19041904
Original file line number Diff line number Diff line change 66 Notification ,
77 BrowserWindow ,
88} from 'electron' ;
9- import _ from 'lodash' ;
109import path from 'path' ;
1110import util from 'util' ;
1211import _fs from 'fs' ;
You can’t perform that action at this time.
0 commit comments