update sdk

This commit is contained in:
lxsang
2021-06-14 20:02:32 +02:00
parent c05fe5d1dd
commit 12f4c6d1b9
8 changed files with 7 additions and 5 deletions

View File

@ -133,7 +133,7 @@ class LocaleJob extends AntOSDKBaseJob {
// read the meta file
const contents = await this.read_files([this.job.data.dest]);
const pkg = JSON.parse(contents[0]);
pkg.locale = locale;
pkg.locales = locale;
// save data
const result = await this.save_file(this.job.data.dest,pkg,"object");
this.log_info(`locale-gen: locale file generated at ${this.job.data.dest}`);