Skip to content

Commit

Permalink
Specify sensitive file names for document registry
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Jan 27, 2019
1 parent c215693 commit b4bdb08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ export function register (opts: Options = {}): Register {
getCustomTransformers: () => transformers
}

const registry = ts.createDocumentRegistry(true, cwd)
const registry = ts.createDocumentRegistry(ts.sys.useCaseSensitiveFileNames, cwd)
const service = ts.createLanguageService(serviceHost, registry)

// Set the file contents into cache manually.
Expand Down

0 comments on commit b4bdb08

Please sign in to comment.