Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Sep 21, 2024
1 parent 4e5253e commit b9e7c6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/migrate/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ export function update_svelte_file(file_path, transform_script_code, transform_s
fs.writeFileSync(file_path, transform_svelte_code(updated, file_path), 'utf-8');
} catch (err) {
// TODO: change to import('svelte/compiler').Warning after upgrading to Svelte 5
const e = (/** @type {any} */ (err));
const e = /** @type {any} */ (err);
console.warn(buildExtendedLogMessage(e), e.frame);
console.info(e.stack);
}
Expand All @@ -332,7 +332,7 @@ export function update_js_file(file_path, transform_code) {
fs.writeFileSync(file_path, updated, 'utf-8');
} catch (err) {
// TODO: change to import('svelte/compiler').Warning after upgrading to Svelte 5
const e = (/** @type {any} */ (err));
const e = /** @type {any} */ (err);
console.warn(buildExtendedLogMessage(e), e.frame);
console.info(e.stack);
}
Expand Down

0 comments on commit b9e7c6f

Please sign in to comment.