mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-28 22:14:21 -04:00
🧹 Error cleanup
This commit is contained in:
parent
5158431d97
commit
24aaa0a993
1 changed files with 1 additions and 3 deletions
|
@ -6,9 +6,7 @@ const writeSchemaData = (location: string, content: string) => {
|
|||
mkdir(location, { recursive: true }, () => {});
|
||||
}
|
||||
});
|
||||
writeFile(location, content, "utf-8", () => {
|
||||
throw new Error(`Oops Something went wrong with Schema Generator`);
|
||||
});
|
||||
writeFile(location, content, "utf-8", () => {});
|
||||
};
|
||||
|
||||
export { writeSchemaData };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue