We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0016d82 commit 01a4f2eCopy full SHA for 01a4f2e
src/services/EditorHelper.ts
@@ -156,13 +156,13 @@ export class EditorHelper {
156
}
157
158
const converters = await languageExtractor.getModulePathToUriConverters();
159
- let path;
160
- for (let index = 0; !path && index < converters.length; index++) {
+ let uri: vscode.Uri | undefined;
+ for (let index = 0; !uri && index < converters.length; index++) {
161
const converter = converters[index];
162
- path = await converter.convert(pathInfo);
+ uri = await converter.convert(pathInfo);
163
164
165
- return path;
+ return uri;
166
167
168
public async getExecutedCodeFromScm(uri: vscode.Uri, commit: string, line: integer) : Promise<string |undefined>{
0 commit comments