mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-07 12:05:46 +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() {
|
pub fn _warning_helper() {
|
||||||
use crate::utils::colors::{ORANGE, RESET};
|
use crate::utils::colors::{ORANGE, RESET};
|
||||||
|
|
||||||
if !crate::cli::ACCESSIBLE.get().unwrap() {
|
if *crate::cli::ACCESSIBLE.get().unwrap() {
|
||||||
print!("{}Warning:{} ", *ORANGE, *RESET);
|
print!("{}Warning:{} ", *ORANGE, *RESET);
|
||||||
} else {
|
} else {
|
||||||
print!("{}[WARNING]{} ", *ORANGE, *RESET);
|
print!("{}[WARNING]{} ", *ORANGE, *RESET);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user