Skip to content

Commit b2aca7b

Browse files
Update packages/kit/src/core/sync/write_types/index.js
Co-authored-by: Rich Harris <[email protected]>
1 parent 473e8b4 commit b2aca7b

File tree

1 file changed

+0
-2
lines changed
  • packages/kit/src/core/sync/write_types

1 file changed

+0
-2
lines changed

packages/kit/src/core/sync/write_types/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ export async function write_types(config, manifest_data, file) {
7272
}
7373

7474
const id = path.relative(config.kit.files.routes, path.dirname(file));
75-
let id = path.dirname(filepath);
76-
id = id === '.' ? '' : id;
7775

7876
const route = manifest_data.routes.find((route) => route.id === id);
7977
if (!route) return; // this shouldn't ever happen

0 commit comments

Comments
 (0)