Skip to content

Commit e08bf2a

Browse files
mrmckebljharb
andauthored
Update src/ExportMap.js
Co-authored-by: Jordan Harband <[email protected]>
1 parent 06af427 commit e08bf2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/ExportMap.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ ExportMap.parse = function (path, content, context) {
527527
try {
528528
if (tsConfigInfo.tsConfigPath !== undefined) {
529529
// Projects not using TypeScript won't have `typescript` installed.
530-
if (!ts) (ts = require('typescript'));
530+
if (!ts) { ts = require('typescript'); }
531531

532532
const configFile = ts.readConfigFile(tsConfigInfo.tsConfigPath, ts.sys.readFile);
533533
return ts.parseJsonConfigFileContent(

0 commit comments

Comments
 (0)