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 {
271
271
this . logger . debug ( `[lint] glob paths:` , this . pathCache . get ( opt ) . globs ) ;
272
272
this . logger . debug ( `[lint] resolved paths:` , this . pathCache . get ( opt ) . paths ) ;
273
273
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);
276
276
const fortranSource : string [ ] = this . settings . fyppEnabled
277
277
? [ '-xf95' , isFreeForm ( textDocument ) ? '-ffree-form' : '-ffixed-form' , '-' ]
278
278
: [ textDocument . fileName ] ;
@@ -281,7 +281,7 @@ export class FortranLintingProvider {
281
281
...args ,
282
282
...this . getIncludeParams ( includePaths ) , // include paths
283
283
'-o' ,
284
- `${ fileNameWithoutExtension } .mod ` ,
284
+ `${ textDocument . fileName } .o ` ,
285
285
...fortranSource ,
286
286
] ;
287
287
You can’t perform that action at this time.
0 commit comments