refactor(lsp): move config file related code to config.rs (#19790)

Will make #19788 easier.
This commit is contained in:
David Sherret 2023-07-10 17:45:09 -04:00 committed by GitHub
parent 629d09b149
commit 8dd9d5f523
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 176 additions and 169 deletions

View file

@ -26,9 +26,7 @@ impl Emitter {
parsed_source_cache: Arc<ParsedSourceCache>,
emit_options: deno_ast::EmitOptions,
) -> Self {
let emit_options_hash = FastInsecureHasher::new()
.write_hashable(&emit_options)
.finish();
let emit_options_hash = FastInsecureHasher::hash(&emit_options);
Self {
emit_cache,
parsed_source_cache,