8000
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 514bf16 commit 532c1b0Copy full SHA for 532c1b0
packages/pyright-internal/src/analyzer/importResolver.ts
@@ -1284,6 +1284,13 @@ export class ImportResolver {
1284
filePath: string,
1285
stripTopContainerDir = false
1286
): ModuleNameInfoFromPath | undefined {
1287
+ /**
1288
+ * TODO(https://github.com/sourcegraph/scip-python/issues/91)
1289
+ * Both paths are casted to lowercase to make the comparison case-insensitive. This has been fixed upstream and should be removed on merge.
1290
+ */
1291
+ containerPath = containerPath.toLowerCase();
1292
+ filePath = filePath.toLowerCase();
1293
+
1294
containerPath = ensureTrailingDirectorySeparator(containerPath);
1295
let filePathWithoutExtension = stripFileExtension(filePath);
1296
0 commit comments