Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 5d696c2

Browse files
committed
fix(clean-up.ts): Call findNextJsProjectRoot with await.
1 parent dd483fd commit 5d696c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/clean-up.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { existsSync, writeFileSync } from 'fs';
33
import { join } from 'path';
44

55
export const cleanUp = async () => {
6-
const projectRoot = findNextJsProjectRoot(__dirname);
6+
const projectRoot = await findNextJsProjectRoot(__dirname);
77

88
if (!projectRoot) {
99
console.error('Next.js project root not found');

0 commit comments

Comments
 (0)