1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00

Remove debug prints introduced in e18aaf49c (#5356)

This commit is contained in:
Valentin Anger 2020-05-14 20:10:54 +02:00 committed by GitHub
parent 8a5068f2b4
commit 5b76f7a838
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 7 deletions

View file

@ -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) =

View file

@ -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

View file

@ -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())),