feat: run prettier on env declaration file at end

This commit is contained in:
2024-06-03 08:39:41 -04:00
parent 9f899ac6d1
commit f2b9d10a16

View File

@@ -33,6 +33,10 @@ envFile.getInterfaceOrThrow("Env").addProperties(
await project.save();
await logStep("Formatting env.d.ts", "Formatted env.d.ts", () =>
$`bunx prettier --write src/types/env.d.ts`.quiet(),
);
async function logStep<T = void>(
inProgressText: string,
doneText: string,