mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Chore: make eslint happy
This commit is contained in:
@@ -24,7 +24,7 @@ const clawSourceDirPromise = new Fdir()
|
||||
|
||||
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