Clean up debug logging.

This commit is contained in:
Condorra 2024-11-24 00:34:02 +11:00
parent ad3fd0207e
commit fe8bf35c88

View File

@ -829,10 +829,6 @@ pub(super) fn mudoutput_subnegotiation_environ<'gc>(
match cmd {
SEND_CMD => {
let mut requested_env = parse_environ_sendcmd(&msg)?;
console::log_1(&JsValue::from_str(&format!(
"Environment request of length: {}",
requested_env.len()
)));
if requested_env.is_empty() {
requested_env = environ
.iter()
@ -843,10 +839,6 @@ pub(super) fn mudoutput_subnegotiation_environ<'gc>(
})
.collect::<anyhow::Result<Vec<_>>>()?;
}
console::log_1(&JsValue::from_str(&format!(
"After expansion, environment request of length: {}",
requested_env.len()
)));
let mut buf: Vec<u8> = vec![];
buf.push(IS_CMD);