message: fix CodeGenerator.ts
diff: @@ -94,6 +94,8 @@ export class CodeGenerator {
  throw Error(intlMsg.lib_codeGenerator_typeInfoMissing());
  }
  + resetDir(codegenDirAbs);
  +
  if (this._config.customScript) {
  const customScript = this._config.customScript;
  @@ -115,8 +117,6 @@ export class CodeGenerator {
  throw Error(intlMsg.lib_codeGenerator_nogenerateBindingMethod());
  }
  - resetDir(codegenDirAbs);
  -
  const output = await generateBinding({
  projectName: await project.getName(),
  modules: [
  