summaryrefslogtreecommitdiff
path: root/cli/node.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/node.rs')
-rw-r--r--cli/node.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/node.rs b/cli/node.rs
index 4c285e3f4..c696fcac9 100644
--- a/cli/node.rs
+++ b/cli/node.rs
@@ -85,7 +85,7 @@ impl CliCjsCodeAnalyzer {
move || -> Result<_, deno_ast::ParseDiagnostic> {
let parsed_source = deno_ast::parse_program(deno_ast::ParseParams {
specifier,
- text_info: deno_ast::SourceTextInfo::new(source),
+ text: source,
media_type,
capture_tokens: true,
scope_analysis: false,