mirror of https://github.com/astral-sh/ruff
Use Mode::None for --no-cache
This commit is contained in:
parent
5deb63a05f
commit
c0042a3ca4
|
|
@ -62,7 +62,7 @@ impl From<bool> for Mode {
|
||||||
fn from(value: bool) -> Self {
|
fn from(value: bool) -> Self {
|
||||||
match value {
|
match value {
|
||||||
true => Mode::ReadWrite,
|
true => Mode::ReadWrite,
|
||||||
false => Mode::WriteOnly,
|
false => Mode::None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue