Removed build server breaking statement
This commit is contained in:
parent
3925e5bfdc
commit
2a44741d01
@ -316,7 +316,8 @@ async function create_default_ui_pack(target_directory: string) {
|
||||
let path;
|
||||
new Promise((resolve, reject) => packager(options, (err, appPaths) => err ? reject(err) : resolve(appPaths))).then(async app_paths => {
|
||||
console.log("Copying changelog file!");
|
||||
await util.promisify(fs.copyFile)(path_helper.join(options.dir, "github", "ChangeLog.txt"), path_helper.join(app_paths[0], "ChangeLog.txt"));
|
||||
/* We dont have promisify in our build system */
|
||||
fs.copyFileSync(path_helper.join(options.dir, "github", "ChangeLog.txt"), path_helper.join(app_paths[0], "ChangeLog.txt"));
|
||||
return app_paths;
|
||||
}).then(async app_paths => {
|
||||
await create_native_addons(path_helper.join(app_paths[0], "resources", "natives"), "build/symbols");
|
||||
@ -338,6 +339,9 @@ new Promise((resolve, reject) => packager(options, (err, appPaths) => err ? reje
|
||||
});
|
||||
}).then(() => {
|
||||
console.log("Package created");
|
||||
}).catch(error => {
|
||||
console.error("Failed to create package!");
|
||||
process.exit(1);
|
||||
});
|
||||
|
||||
export {}
|
Loading…
Reference in New Issue
Block a user