From ffa769a471d55852c3415ebef9d7e7327c30e5d3 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 24 Apr 2024 18:22:40 +0300 Subject: [PATCH] fix logical-assignment-operators error --- lib/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }