Skip to content

Commit

Permalink
Update packages/migrate/migrations/svelte-4/migrate.js
Browse files Browse the repository at this point in the history
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
  • Loading branch information
dummdidumm and gtm-nayan authored Jun 21, 2023
1 parent 7363684 commit 16c5057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/migrate/migrations/svelte-4/migrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function update_svelte_file(file_path, migrate_transition) {
);
fs.writeFileSync(file_path, transform_svelte_code(updated, migrate_transition), 'utf-8');
} catch (e) {
console.error(`Error updating ${file_path}: ${/** @type {any} */ (e)?.message}`);
console.error(`Error updating ${file_path}:`, e);
}
}

Expand Down

0 comments on commit 16c5057

Please sign in to comment.