ondc-code-generator 0.5.4 → 0.5.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -107,7 +107,7 @@ export class ConfigCompiler {
|
|
|
107
107
|
const template = readFileSync(path.resolve(__dirname, "../generator/generators/typescript/templates/schema-template.mustache"), "utf-8");
|
|
108
108
|
console.log(actions);
|
|
109
109
|
const l0 = Mustache.render(template, { actions });
|
|
110
|
-
await writeAndFormatCode(
|
|
110
|
+
await writeAndFormatCode(targetPath, `index.ts`, l0, "typescript");
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
this.generateValidPaths = async () => {
|