mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-12 22:03:29 +02:00
update sdk
This commit is contained in:
@ -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}`);
|
||||
|
Reference in New Issue
Block a user