File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ export class FortranLintingProvider {
279279 const textDocument = textEditor . document ;
280280 this . linter = this . getLinter ( this . settings . compiler ) ;
281281 const command = this . getLinterExecutable ( ) ;
282- let argList = [ ... this . constructArgumentList ( textDocument ) ] ;
282+ let argList = this . constructArgumentList ( textDocument ) ;
283283 // Remove mandatory linter args, used for mock compilation
284284 argList = argList . filter ( arg => ! this . linter . args . includes ( arg ) ) ;
285285 if ( debug ) argList . push ( '-g' ) ; // add debug symbols flag, same for all compilers
@@ -296,7 +296,7 @@ export class FortranLintingProvider {
296296 program : `${ textDocument . fileName } .o` ,
297297 cwd : folder . uri . fsPath ,
298298 } ;
299- await vscode . debug . startDebugging ( folder , selectedConfig , { noDebug : debug } ) ;
299+ await vscode . debug . startDebugging ( folder , selectedConfig , { noDebug : ! debug } ) ;
300300 return ;
301301 } catch ( err ) {
302302 this . logger . error ( `[build] Compiling ${ textDocument . fileName } failed:` , err ) ;
You can’t perform that action at this time.
0 commit comments