summaryrefslogtreecommitdiff
path: root/cli/doc/parser.rs
diff options
context:
space:
mode:
authorValentin Anger <syrupthinker@gryphno.de>2020-05-14 20:10:54 +0200
committerGitHub <noreply@github.com>2020-05-14 14:10:54 -0400
commit5b76f7a838bf869872811c52c26c9ee9f01585b6 (patch)
tree7558e6aa00f94cb5a67ca20c86f23dfe581ee345 /cli/doc/parser.rs
parent8a5068f2b433491c0ae8103016ddb8a2b4aa5351 (diff)
Remove debug prints introduced in e18aaf49c (#5356)
Diffstat (limited to 'cli/doc/parser.rs')
-rw-r--r--cli/doc/parser.rs6
1 files changed, 1 insertions, 5 deletions
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