Skip to content

Commit d9a20a2

Browse files
committed
fix accidental deletion
1 parent b5ca055 commit d9a20a2

File tree

1 file changed

+1
-2
lines changed
  • src/utils/writeClientCustomTemplate

1 file changed

+1
-2
lines changed

src/utils/writeClientCustomTemplate/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ export const writeClientIndexCustomTemplate = async (
4242

4343
const indexTemplate = Handlebars.compile(await readFile(templatePath, 'utf8'));
4444

45-
const dir = resolve(outputPath);
45+
const dir = resolve(outputPath, 'index.ts');
4646
await remove(dir);
47-
await mkdir(dir);
4847

4948
const templateResult = indexTemplate({
5049
serviceBaseUrl: client.server,

0 commit comments

Comments
 (0)