File tree 4 files changed +9
-22
lines changed
4 files changed +9
-22
lines changed Original file line number Diff line number Diff line change 1
1
// src/extension.ts
2
- import * as which from 'which' ;
2
+ import which from 'which' ;
3
3
import * as vscode from 'vscode' ;
4
4
5
5
import { FortranLintingProvider } from './features/linter-provider' ;
@@ -65,7 +65,7 @@ export async function activate(context: vscode.ExtensionContext) {
65
65
// Check if the language server is installed and if not prompt to install it
66
66
// Not the most elegant solution but we need pip install to have finished
67
67
// before the activate function is called so we do a little code duplication
68
- which ( config . get < string > ( 'fortls.path' ) , err => {
68
+ which ( config . get < string > ( 'fortls.path' ) , ( err : any ) => {
69
69
if ( ! config . get ( 'ignoreWarning.fortls' ) ) {
70
70
if ( err ) {
71
71
const msg = `It is highly recommended to use the fortran-language-server to
Original file line number Diff line number Diff line change 5
5
"outDir" : " out" ,
6
6
"lib" : [" ES2020" ],
7
7
"sourceMap" : true ,
8
- "rootDir" : " ." ,
9
- "resolveJsonModule" : true
8
+ "resolveJsonModule" : true ,
9
+ "esModuleInterop" : true ,
10
+ "removeComments" : true ,
11
+ "rootDir" : " ."
10
12
},
11
13
"include" : [" src/**/*.ts" ],
12
14
"exclude" : [" node_modules" , " .vscode-test" ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -34,10 +34,9 @@ const config = {
34
34
{
35
35
loader : 'ts-loader' ,
36
36
options : {
37
- configFile :
38
- process . env . NODE_ENV === 'production'
39
- ? path . resolve ( './tsconfig.prod.json' )
40
- : path . resolve ( './tsconfig.json' ) ,
37
+ compilerOptions : {
38
+ sourceMap : true ,
39
+ } ,
41
40
} ,
42
41
} ,
43
42
] ,
You can’t perform that action at this time.
0 commit comments