Skip to content

Commit

Permalink
remove eprintln
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Apr 1, 2024
1 parent 25fcd94 commit 5b1dbdb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.

#![deny(clippy::print_stderr)]
#![deny(clippy::print_stdout)]

use serde::Serialize;
use serde::Serializer;
use std::fmt;
Expand Down Expand Up @@ -216,7 +219,6 @@ impl MediaType {
},
Some(ext) => {
let lowercase_str = ext.to_lowercase();
eprintln!("STR: {}", lowercase_str);
match lowercase_str.as_str() {
"ts" => map_typescript_like(path, Self::TypeScript, Self::Dts),
"mts" => map_typescript_like(path, Self::Mts, Self::Dmts),
Expand Down

0 comments on commit 5b1dbdb

Please sign in to comment.