diff options
author | Valentin Anger <syrupthinker@gryphno.de> | 2020-05-14 20:10:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 14:10:54 -0400 |
commit | 5b76f7a838bf869872811c52c26c9ee9f01585b6 (patch) | |
tree | 7558e6aa00f94cb5a67ca20c86f23dfe581ee345 | |
parent | 8a5068f2b433491c0ae8103016ddb8a2b4aa5351 (diff) |
Remove debug prints introduced in e18aaf49c (#5356)
-rw-r--r-- | cli/doc/module.rs | 1 | ||||
-rw-r--r-- | cli/doc/parser.rs | 6 | ||||
-rw-r--r-- | cli/doc/tests.rs | 1 |
3 files changed, 1 insertions, 7 deletions
diff --git a/cli/doc/module.rs b/cli/doc/module.rs index ab137904b..2de9c7ca8 100644 --- a/cli/doc/module.rs +++ b/cli/doc/module.rs @@ -16,7 +16,6 @@ pub fn get_doc_node_for_export_decl( let js_doc = doc_parser.js_doc_for_span(export_span); let location = doc_parser.ast_parser.get_span_location(export_span).into(); - eprintln!("decl {:#?}", export_decl); match &export_decl.decl { Decl::Class(class_decl) => { let (name, class_def) = diff --git a/cli/doc/parser.rs b/cli/doc/parser.rs index 0ab3c8d34..0e58e4b0a 100644 --- a/cli/doc/parser.rs +++ b/cli/doc/parser.rs @@ -265,10 +265,7 @@ impl DocParser { vec![doc_node] } - ModuleDecl::ExportDefaultExpr(export_default_expr) => { - eprintln!("export default expr {:#?}", export_default_expr); - vec![] - } + ModuleDecl::ExportDefaultExpr(_export_default_expr) => vec![], _ => vec![], } } @@ -455,7 +452,6 @@ impl DocParser { if let swc_ecma_ast::ModuleItem::ModuleDecl(module_decl) = node { let r = match module_decl { ModuleDecl::ExportNamed(named_export) => { - eprintln!("export named {:#?}", named_export); if let Some(src) = &named_export.src { let src_str = src.value.to_string(); named_export diff --git a/cli/doc/tests.rs b/cli/doc/tests.rs index d30736f0d..2bae11ec9 100644 --- a/cli/doc/tests.rs +++ b/cli/doc/tests.rs @@ -32,7 +32,6 @@ impl DocFileLoader for TestLoader { &self, specifier: &str, ) -> Pin<Box<dyn Future<Output = Result<String, OpError>>>> { - eprintln!("specifier {:#?}", specifier); let res = match self.files.get(specifier) { Some(source_code) => Ok(source_code.to_string()), None => Err(OpError::other("not found".to_string())), |