Skip to content

Commit

Permalink
Prettified Code!
Browse files Browse the repository at this point in the history
  • Loading branch information
maneike authored and actions-user committed Nov 19, 2024
1 parent 8c4a6d0 commit 34fa682
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import { logger } from '../../../utils/logger';
export const runInstallCommand = async () => {
await logger.withSpinner('payload', 'Installing to Next.js...', async (spinner) => {
try {
await execAsync(
`echo y | npx create-payload-app --db postgres --db-connection-string ${process.env.DB_URL}`,
);
await execAsync(`echo y | npx create-payload-app --db postgres --db-connection-string ${process.env.DB_URL}`);

spinner.succeed('Installation completed.');
} catch (error) {
Expand Down

0 comments on commit 34fa682

Please sign in to comment.