Skip to content

Commit edd717d

Browse files
chore(prettier): fix formatting errors
Fixes Prettier errors to pass tests and ensure consistent code style. close #234
1 parent 4df1fc6 commit edd717d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/cli/src/commands/create/generate-hosting-config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,13 @@ export async function generateHostingConfig(dest: string, provider: string, flag
3939
task: async () => {
4040
const filepath = path.join(resolvedDest, filename);
4141
fs.writeFileSync(filepath, config);
42+
4243
return `Added ${filepath}`;
4344
},
4445
});
4546
} else {
4647
prompts.log.message(
47-
`${chalk.blue('hosting provider config [skip]')} You can configure hosting provider settings manually later. For more information see https://tutorialkit.dev/guides/deployment/#headers-configuration`
48+
`${chalk.blue('hosting provider config [skip]')} You can configure hosting provider settings manually later. For more information see https://tutorialkit.dev/guides/deployment/#headers-configuration`,
4849
);
4950
}
5051
}

packages/cli/src/commands/create/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ function updatePackageJson(dest: string, projectName: string, flags: CreateOptio
277277

278278
if (provider === 'Netlify' || provider === 'Cloudflare') {
279279
pkgJson.scripts = pkgJson.scripts || {};
280-
pkgJson.scripts.postbuild = "cp _headers ./dist/";
280+
pkgJson.scripts.postbuild = 'cp _headers ./dist/';
281281
}
282282

283283
fs.writeFileSync(pkgPath, JSON.stringify(pkgJson, null, 2));

0 commit comments

Comments
 (0)