proper fix of models which don't generate properly
This commit is contained in:
parent
4a7b1338f0
commit
4fad41cd10
@ -86,11 +86,12 @@ function generateModels(
|
||||
parser: "typescript"
|
||||
});
|
||||
} catch (error) {
|
||||
console.log(
|
||||
console.error(
|
||||
"There were some problems with model generation for table: ",
|
||||
element.sqlName
|
||||
);
|
||||
console.log(error);
|
||||
console.error(error);
|
||||
formatted = withImportStatements;
|
||||
}
|
||||
fs.writeFileSync(resultFilePath, formatted, {
|
||||
encoding: "UTF-8",
|
||||
|
Loading…
Reference in New Issue
Block a user