mirror of
https://github.com/JosunLP/BrowserExtensionTemplate.git
synced 2025-10-14 00:00:09 +00:00
fix: Correct strict equality check for CSS file extension
This commit is contained in:
parent
482151f980
commit
78e6cf87fe
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ function findCssFileNames(source: string): string[] {
|
|||
if (stat.isDirectory()) {
|
||||
files = files.concat(findCssFileNames(sourceFile));
|
||||
} else {
|
||||
if (path.extname(sourceFile) == '.css') {
|
||||
if (path.extname(sourceFile) === '.css') {
|
||||
files.push(file);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue