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 {
279
279
const textDocument = textEditor . document ;
280
280
this . linter = this . getLinter ( this . settings . compiler ) ;
281
281
const command = this . getLinterExecutable ( ) ;
282
- let argList = [ ... this . constructArgumentList ( textDocument ) ] ;
282
+ let argList = this . constructArgumentList ( textDocument ) ;
283
283
// Remove mandatory linter args, used for mock compilation
284
284
argList = argList . filter ( arg => ! this . linter . args . includes ( arg ) ) ;
285
285
if ( debug ) argList . push ( '-g' ) ; // add debug symbols flag, same for all compilers
@@ -296,7 +296,7 @@ export class FortranLintingProvider {
296
296
program : `${ textDocument . fileName } .o` ,
297
297
cwd : folder . uri . fsPath ,
298
298
} ;
299
- await vscode . debug . startDebugging ( folder , selectedConfig , { noDebug : debug } ) ;
299
+ await vscode . debug . startDebugging ( folder , selectedConfig , { noDebug : ! debug } ) ;
300
300
return ;
301
301
} catch ( err ) {
302
302
this . logger . error ( `[build] Compiling ${ textDocument . fileName } failed:` , err ) ;
You can’t perform that action at this time.
0 commit comments