Skip to content

Commit

Permalink
Remove debug prints introduced in e18aaf4 (denoland#5356)
Browse files Browse the repository at this point in the history
  • Loading branch information
SyrupThinker committed May 14, 2020
1 parent 8a5068f commit 5b76f7a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion cli/doc/module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) =
Expand Down
6 changes: 1 addition & 5 deletions cli/doc/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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![],
}
}
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion cli/doc/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())),
Expand Down

0 comments on commit 5b76f7a

Please sign in to comment.