Skip to content

Commit 25ec6a3

Browse files
authored
Ignore .db files by default (#17711)
This PR ignores `.db` files by default. We already ignored `.sqlite` and `.sqlite3` files but we didn't ignore `.db` files which is a common extension for database files as well. Due to the binary nature of `.db` files, scanning these could result in hard to debug errors such as: ![image](https://github.com/user-attachments/assets/52f779ac-cd5f-4f37-9615-2163bf852999)
1 parent 8bf06ab commit 25ec6a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Fixed
1111

1212
- Don't scan `.geojson` files for classes by default ([#17700](https://github.com/tailwindlabs/tailwindcss/pull/17700))
13+
- Don't scan `.db` files for classes by default ([#17711](https://github.com/tailwindlabs/tailwindcss/pull/17711))
1314
- Hide default shadow suggestions when missing theme keys ([#17743](https://github.com/tailwindlabs/tailwindcss/pull/17743))
1415
- Replace `_` with `.` in theme suggestions for `@utility` if surrounded by digits ([#17743](https://github.com/tailwindlabs/tailwindcss/pull/17743))
1516

crates/oxide/src/scanner/fixtures/binary-extensions.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ cpio
3737
cr2
3838
cur
3939
dat
40+
db
4041
dcm
4142
deb
4243
dex
@@ -200,8 +201,6 @@ snap
200201
snk
201202
so
202203
sqlite
203-
sqlite
204-
sqlite3
205204
sqlite3
206205
stl
207206
storedata

0 commit comments

Comments
 (0)