This repository was archived by the owner on Jun 28, 2018. It is now read-only.
Commit 49deebb
committed
Fixed LessCSS failing on extensionless files
The regex pattern doesn't match filenames that have no extensions, so matching
against the pattern returns a `None` object. `None` object doesn't have a
`group` property, and therefore an error is thrown. I replaced the regex
pattern matching with a `os.path.splitext` call.1 parent 5e5c5ec commit 49deebb
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
96 | 95 | | |
97 | 96 | | |
98 | 97 | | |
| |||
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
104 | | - | |
| 103 | + | |
105 | 104 | | |
106 | 105 | | |
107 | 106 | | |
| |||
0 commit comments