mirror of
https://github.com/JosunLP/BrowserExtensionTemplate.git
synced 2025-12-06 05:50:05 +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()) {
|
if (stat.isDirectory()) {
|
||||||
files = files.concat(findCssFileNames(sourceFile));
|
files = files.concat(findCssFileNames(sourceFile));
|
||||||
} else {
|
} else {
|
||||||
if (path.extname(sourceFile) == '.css') {
|
if (path.extname(sourceFile) === '.css') {
|
||||||
files.push(file);
|
files.push(file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue