Skip to content

Commit e9342c7

Browse files
committed
what fun
1 parent 6c22129 commit e9342c7

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

packages/kit/test/apps/basics/src/routes/shadowed/simple/post/+page.svelte

Whitespace-only changes.

packages/migrate/migrations/routes/migrate_page_js/index.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { migrate_page } from './index.js';
55

66
for (const sample of read_samples(import.meta.url)) {
77
test(sample.description, () => {
8-
const actual = migrate_page(sample.before);
8+
const actual = migrate_page(sample.before, sample.filename ?? '+page.js');
99
assert.equal(actual, sample.after);
1010
});
1111
}

packages/migrate/migrations/routes/utils.js

+2
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,9 @@ export function read_samples(test_file) {
472472
* @param {string} new_type
473473
*/
474474
export function rewrite_type(node, code, old_type, new_type) {
475+
// @ts-ignore
475476
if (node.jsDoc) {
477+
// @ts-ignore
476478
for (const comment of node.jsDoc) {
477479
const str = comment.getText();
478480
const index = str.indexOf(old_type);

0 commit comments

Comments
 (0)