Skip to content

Commit

Permalink
de-hardwire useCaseSensitiveFileNames
Browse files Browse the repository at this point in the history
  • Loading branch information
machty committed Jan 14, 2024
1 parent 6dc15df commit f416758
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/core/src/language-server/glint-language-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ export default class GlintLanguageServer {
directoryExists: this.ts.sys.directoryExists,
getDirectories: this.ts.sys.getDirectories,
realpath: this.ts.sys.realpath,
useCaseSensitiveFileNames: () => true,

// A proper choice for case sensitivity impacts things like resolving
// relative paths for module specifiers for auto imports.
useCaseSensitiveFileNames: () => this.ts.sys.useCaseSensitiveFileNames,

// @ts-ignore Undocumented method.
getCachedExportInfoMap() {
Expand Down

0 comments on commit f416758

Please sign in to comment.