Skip to content

Commit ffa769a

Browse files
authored
fix logical-assignment-operators error
1 parent 28ccd5d commit ffa769a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = class Config {
3131
const ts = require('typescript');
3232
const tsParsedConfig = ts.readJsonConfigFile(this.tsConfig, ts.sys.readFile);
3333
const obj = ts.parseJsonSourceFileConfigFileContent(tsParsedConfig, ts.sys, path.dirname(this.tsConfig));
34-
this.tsConfigPath = this.tsConfigPath || this.tsConfig;
34+
this.tsConfigPath ||= this.tsConfig;
3535
this.tsConfig = obj.raw;
3636
}
3737

0 commit comments

Comments
 (0)