Skip to content

Commit 18713c3

Browse files
committed
fix: format core filenames in core file imports
1 parent 5969263 commit 18713c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/schema-to-typescript/common/client-core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function processCoreFile(
1414
return renderTypeScript(
1515
parse(
1616
code.replace(
17-
/import(.*?)from ".\/([^"]+)";/,
17+
/import(.*?)from '.\/([^']+)';/,
1818
(_, [imports, path]) =>
1919
`import${imports}from ${JSON.stringify(`./${formatFilename(path, filenameFormat)}`)};`
2020
),

0 commit comments

Comments
 (0)