File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -271,8 +271,8 @@ export class FortranLintingProvider {
271271 this . logger . debug ( `[lint] glob paths:` , this . pathCache . get ( opt ) . globs ) ;
272272 this . logger . debug ( `[lint] resolved paths:` , this . pathCache . get ( opt ) . paths ) ;
273273
274- const extensionIndex = textDocument . fileName . lastIndexOf ( '.' ) ;
275- const fileNameWithoutExtension = textDocument . fileName . substring ( 0 , extensionIndex ) ;
274+ // const extensionIndex = textDocument.fileName.lastIndexOf('.');
275+ // const fileNameWithoutExtension = textDocument.fileName.substring(0, extensionIndex);
276276 const fortranSource : string [ ] = this . settings . fyppEnabled
277277 ? [ '-xf95' , isFreeForm ( textDocument ) ? '-ffree-form' : '-ffixed-form' , '-' ]
278278 : [ textDocument . fileName ] ;
@@ -281,7 +281,7 @@ export class FortranLintingProvider {
281281 ...args ,
282282 ...this . getIncludeParams ( includePaths ) , // include paths
283283 '-o' ,
284- `${ fileNameWithoutExtension } .mod ` ,
284+ `${ textDocument . fileName } .o ` ,
285285 ...fortranSource ,
286286 ] ;
287287
You can’t perform that action at this time.
0 commit comments