File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -96,13 +96,13 @@ function sendLinesWithDelay(outputArray) {
9696 return ( delay , line , index ) => {
9797 return new Promise ( ( resolve ) => {
9898 helper . timeout . add ( 'CLI_send_slowly' , ( ) => {
99- var processingDelay = self . lineDelayMs ;
99+ let processingDelay = TABS . cli . lineDelayMs ;
100100 if ( line . toLowerCase ( ) . startsWith ( 'profile' ) ) {
101- processingDelay = self . profileSwitchDelayMs ;
101+ processingDelay = TABS . cli . profileSwitchDelayMs ;
102102 }
103103 const isLastCommand = outputArray . length === index + 1 ;
104- if ( isLastCommand && self . cliBuffer ) {
105- line = getCliCommand ( line , self . cliBuffer ) ;
104+ if ( isLastCommand && TABS . cli . cliBuffer ) {
105+ line = getCliCommand ( line , TABS . cli . cliBuffer ) ;
106106 }
107107 TABS . cli . sendLine ( line , ( ) => {
108108 resolve ( processingDelay ) ;
You can’t perform that action at this time.
0 commit comments