mirror of
https://github.com/facebook/react.git
synced 2026-02-23 20:23:02 +00:00
[lint] Make eqeqeq a failure
This commit is contained in:
@@ -37,7 +37,7 @@ function compile(content, contentFilename) {
|
||||
try {
|
||||
source = fs.readFileSync(filename).toString();
|
||||
} catch (e) {
|
||||
if (e.code == 'ENOENT') {
|
||||
if (e.code === 'ENOENT') {
|
||||
return undefined;
|
||||
}
|
||||
throw e;
|
||||
|
||||
Reference in New Issue
Block a user