Files
oak-gpui/crates
Ivan Buryak 7bf16f263e Fix a bug when extension loading is failed after it's folder is viewed by MacOS finder (#8111)
Fixes #8096

# Bug description

I was experimenting with adding extensions and almost went crazy trying
to make my demo extension work. It appeared that I was copying files
with Finder that creates hidden `.DS_Store` files which interfered with
Zed's loading logic. It assumes that `languages/` directory contains
only directories and never files and so it crashes when meets
`.DS_Store`. This makes any extension stop working after it has been
viewed via Finder

# Change

Check if path is directory when loading extension languages (so it will
skip .DS_Store files)
2024-02-21 08:46:58 -08:00
..
2024-02-13 12:53:49 -07:00
2024-02-19 21:49:47 -07:00
2024-02-12 22:28:26 -07:00
2024-02-19 21:49:47 -07:00
2024-02-20 09:41:37 -07:00
2024-01-29 23:47:20 -05:00
2024-02-19 18:41:43 +02:00
2024-02-21 14:56:43 +02:00