Skip to content

Commit 4cc559e

Browse files
committed
fix
1 parent 6c15c36 commit 4cc559e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

generate_schemas.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ async function quicktypeJSONSchema(filename, jsonSchemaString) {
6464
});
6565
}
6666

67-
async function return_json_schema(directoryPath, folder_path, projectName) {
67+
function return_json_schema(directoryPath, folder_path, projectName) {
6868
console.log("return_json_schema", directoryPath, folder_path, projectName);
6969

7070
const folders = fs
@@ -150,7 +150,7 @@ if (fs.existsSync(outputFile)) {
150150
async function main() {
151151
const finalJson = {};
152152
finalJson[projectName] = return_json_schema(directoryPath, "", projectName);
153-
153+
console.log("FINAL", outputFile, finalJson);
154154
fs.writeFileSync(outputFile, JSON.stringify(finalJson, null, 2));
155155
}
156156

0 commit comments

Comments
 (0)