diff --git a/lib/config.js b/lib/config.js index 71eecf8..b0ba90a 100644 --- a/lib/config.js +++ b/lib/config.js @@ -31,7 +31,7 @@ module.exports = class Config { const ts = require('typescript'); const tsParsedConfig = ts.readJsonConfigFile(this.tsConfig, ts.sys.readFile); const obj = ts.parseJsonSourceFileConfigFileContent(tsParsedConfig, ts.sys, path.dirname(this.tsConfig)); - this.tsConfigPath = this.tsConfigPath || this.tsConfig; + this.tsConfigPath ||= this.tsConfig; this.tsConfig = obj.raw; }