Skip to content

Commit

Permalink
Remove extra fixConfig arg
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Oct 12, 2019
1 parent 5ff74b7 commit 8de71cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ function registerExtension (
/**
* Do post-processing on config options to support `ts-node`.
*/
function fixConfig (ts: TSCommon, config: _ts.ParsedCommandLine, cwd: string) {
function fixConfig (ts: TSCommon, config: _ts.ParsedCommandLine) {
// Delete options that *should not* be passed through.
delete config.options.out
delete config.options.outFile
Expand Down Expand Up @@ -607,7 +607,7 @@ function readConfig (
// Override default configuration options `ts-node` requires.
config.compilerOptions = Object.assign({}, config.compilerOptions, options.compilerOptions, TS_NODE_COMPILER_OPTIONS)

return fixConfig(ts, ts.parseJsonConfigFileContent(config, ts.sys, basePath, undefined, configFileName), cwd)
return fixConfig(ts, ts.parseJsonConfigFileContent(config, ts.sys, basePath, undefined, configFileName))
}

/**
Expand Down

0 comments on commit 8de71cc

Please sign in to comment.