We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 565b34f commit e4bb80eCopy full SHA for e4bb80e
src/lib.rs
@@ -279,7 +279,8 @@ impl LsColors {
279
} else if file_type.is_dir() {
280
let mode = crate::fs::mode(metadata);
281
282
- if self.has_color_for(Indicator::StickyAndOtherWritable) && mode & 0o1002 == 0o1002 {
+ if self.has_color_for(Indicator::StickyAndOtherWritable) && mode & 0o1002 == 0o1002
283
+ {
284
Indicator::StickyAndOtherWritable
285
} else if self.has_color_for(Indicator::OtherWritable) && mode & 0o0002 != 0 {
286
Indicator::OtherWritable
0 commit comments