Skip to content

Commit 90240d8

Browse files
committed
fix: typo
1 parent 13382b5 commit 90240d8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
# css-custom-property-extractor
2+
3+
https://snyk.io/advisor/npm-package/fast-glob/example

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const main = async (options: Options) => {
2828
customPropertyWithValues = result.css
2929
.toString()
3030
.match(regCustomProperty);
31-
} else if (filePath.endsWith("less")) {
31+
} else if (filePath.endsWith(".less")) {
3232
const less = loadLessPreprocessor();
3333
const result = await less.render(fileContent, {
3434
paths: [path.dirname(filePath)],

0 commit comments

Comments
 (0)