From 4dc9f6bd93d9019623b197c9a9de5fe590fad8aa Mon Sep 17 00:00:00 2001 From: Simon Holthausen Date: Wed, 18 Sep 2024 16:21:25 +0200 Subject: [PATCH] remove commented-out code --- packages/migrate/migrations/svelte-5/migrate.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/migrate/migrations/svelte-5/migrate.js b/packages/migrate/migrations/svelte-5/migrate.js index bb1c16f30b27..86cbf8c67a6b 100644 --- a/packages/migrate/migrations/svelte-5/migrate.js +++ b/packages/migrate/migrations/svelte-5/migrate.js @@ -67,11 +67,6 @@ export function transform_svelte_code(code, transform_code) { * @param {import('ts-morph').SourceFile} source */ function update_component_instantiation(source) { - // const logger = log_on_ts_modification( - // source, - // 'Updates component instantiation: https://svelte.dev/docs/svelte/TODO (you may need to update usages of the component instance)' - // ); - const imports = source .getImportDeclarations() .filter((i) => i.getModuleSpecifierValue().endsWith('.svelte')) @@ -129,8 +124,6 @@ function update_component_instantiation(source) { } } } - - // logger(); } /**