Skip to content

Commit f9530b2

Browse files
authored
Fix compilation issue (#11)
1 parent c7549f3 commit f9530b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/client/interpreter/display/shebangCodeLensProvider.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import { IS_WINDOWS } from '../../common/utils';
77
import { getFirstNonEmptyLineFromMultilineString } from '../../interpreter/helpers';
88

99
export class ShebangCodeLensProvider implements vscode.CodeLensProvider {
10-
public onDidChangeCodeLenses: vscode.Event<void> = vscode.workspace.onDidChangeConfiguration;
10+
// tslint:disable-next-line:prefer-type-cast no-any
11+
public onDidChangeCodeLenses: vscode.Event<void> = vscode.workspace.onDidChangeConfiguration as any as vscode.Event<void>;
1112
// tslint:disable-next-line:function-name
1213
public static async detectShebang(document: TextDocument): Promise<string | undefined> {
1314
const firstLine = document.lineAt(0);

0 commit comments

Comments
 (0)