summaryrefslogtreecommitdiff
path: root/cli/colors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/colors.rs')
-rw-r--r--cli/colors.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/cli/colors.rs b/cli/colors.rs
index 7ca42e2f5..9c2c7a401 100644
--- a/cli/colors.rs
+++ b/cli/colors.rs
@@ -21,7 +21,6 @@ lazy_static! {
}
/// Helper function to strip ansi codes.
-#[cfg(test)]
pub fn strip_ansi_codes(s: &str) -> std::borrow::Cow<str> {
STRIP_ANSI_RE.replace_all(s, "")
}