Skip to content

Commit

Permalink
Remove unnecessary nullish coalescing
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Mar 6, 2024
1 parent a016dff commit 00af268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/eslint/eslint.js
Expand Up @@ -353,7 +353,7 @@ async function loadFlatConfigFile(filePath) {
}
}

const config = (await import(fileURL.href)).default?.default ?? (await import(fileURL.href)).default;
const config = (await import(fileURL.href)).default;

importedConfigFileModificationTime.set(filePath, mtime);

Expand Down

0 comments on commit 00af268

Please sign in to comment.