Skip to content

Commit

Permalink
feat(create-turbo): apply official-starter transform
Browse files Browse the repository at this point in the history
  • Loading branch information
turbobot-temp authored and maneike committed Oct 9, 2024
1 parent f31831a commit cd3a930
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/utils/payload/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const preparePayload = async () => {
if (!existsSync(payloadConfigPath)) {
console.error("🍸 Payload installation cancelled/failed.");
} else {
preparePayloadConfig(payloadConfigPath);
await preparePayloadConfig(payloadConfigPath);
}

// get back to the root directory
Expand Down
2 changes: 1 addition & 1 deletion packages/core/utils/payload/preparePayloadConfig.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from "fs";

export const preparePayloadConfig = (configPath: fs.PathOrFileDescriptor) => {
export const preparePayloadConfig = async (configPath: fs.PathOrFileDescriptor) => {
console.log("🍸 Preparing payload.config.ts...");

// Read the payload.config.ts file
Expand Down

0 comments on commit cd3a930

Please sign in to comment.