Skip to content

Commit c4046e5

Browse files
committed
fix linting
1 parent 7682e11 commit c4046e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/installfinders/linux/legendary.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ const HEROIC_LEGENDARY_DATA_PATH = `${process.env.HOME}/.config/heroic/legendary
4141
export function getInstalls(): InstallFindResult {
4242
const installs: Array<SatisfactoryInstall> = [];
4343
const invalidInstalls: Array<string> = [];
44-
let DATA_PATH:string = '';
44+
let DATA_PATH = '';
4545

4646
if (fs.existsSync(HEROIC_LEGENDARY_DATA_PATH)) {
4747
DATA_PATH = HEROIC_LEGENDARY_DATA_PATH;
4848
} else if (fs.existsSync(LEGENDARY_DATA_PATH)) {
4949
DATA_PATH = LEGENDARY_DATA_PATH;
5050
}
5151

52-
if (DATA_PATH != '') {
52+
if (DATA_PATH !== '') {
5353
const legendaryInstalls = JSON.parse(fs.readFileSync(DATA_PATH, 'utf8')) as LegendaryData;
5454
Object.values(legendaryInstalls).forEach((legendaryGame) => {
5555
if (legendaryGame.app_name.includes('Crab')) {

0 commit comments

Comments
 (0)