mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-06 11:35:45 +00:00
fix accessible warning if
reversed
This commit is contained in:
parent
c65959d648
commit
8bd78f49cd
@ -68,7 +68,7 @@ macro_rules! warning {
|
||||
pub fn _warning_helper() {
|
||||
use crate::utils::colors::{ORANGE, RESET};
|
||||
|
||||
if !crate::cli::ACCESSIBLE.get().unwrap() {
|
||||
if *crate::cli::ACCESSIBLE.get().unwrap() {
|
||||
print!("{}Warning:{} ", *ORANGE, *RESET);
|
||||
} else {
|
||||
print!("{}[WARNING]{} ", *ORANGE, *RESET);
|
||||
|
Loading…
x
Reference in New Issue
Block a user