Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/dart_sass/compiler_path.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def _find_dart_sass_executable() -> Optional[List[str]]:
pass # Skip our own Python script
else:
return [sass_exe]
except (IOError, OSError):
except (IOError, OSError, UnicodeDecodeError):
# If we can't read it, assume it's a binary and try it
return [sass_exe]

Expand Down