Skip to content

Commit 871e826

Browse files
committed
fix: remove debug log for existing dataSource check in generateResourceFile
1 parent 8db4b82 commit 871e826

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

adminforth/commands/createResource/generateResourceFile.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export async function generateResourceFile({
2424
const content = await fs.readFile(baseFilePath, "utf-8");
2525
const match = content.match(/dataSource:\s*["'](.+?)["']/);
2626
const existingDataSource = match?.[1];
27-
console.log(existingDataSource, "123444444444");
2827
if (existingDataSource === dataSource) {
2928
console.log(chalk.yellow(`⚠️ File already exists with same dataSource: ${baseFilePath}`));
3029
return { alreadyExists: true, path: baseFilePath, fileName: baseFileName, resourceId: table };

0 commit comments

Comments
 (0)