mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Chore: make eslint happy
This commit is contained in:
@@ -21,7 +21,7 @@ import { SOURCE_DIR } from './constants/dir';
|
||||
|
||||
const extname = path.extname(filepath);
|
||||
|
||||
return !(extname === '.js' || extname === '.ts');
|
||||
return extname !== '.js' && extname !== '.ts';
|
||||
})
|
||||
.crawl(SOURCE_DIR)
|
||||
.withPromise();
|
||||
|
||||
Reference in New Issue
Block a user