From 46f410901c5793ec8240335215d512982335ff7f Mon Sep 17 00:00:00 2001 From: Alena Khineika Date: Thu, 18 Jul 2024 18:10:45 +0200 Subject: [PATCH] refactor: reformat --- packages/hadron-build/commands/release.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/hadron-build/commands/release.js b/packages/hadron-build/commands/release.js index 5c32335319c..9c5fbf1b4cf 100644 --- a/packages/hadron-build/commands/release.js +++ b/packages/hadron-build/commands/release.js @@ -512,7 +512,7 @@ exports.run = (argv, done) => { cli.debug(`Building distribution: ${target.distribution}`); const task = (name, fn) => { - return () => (new Promise((resolve, reject) => { + return () => new Promise((resolve, reject) => { cli.debug(`start: ${name}`); fn(target, (err) => { if (err) { @@ -522,7 +522,7 @@ exports.run = (argv, done) => { cli.debug(`completed: ${name}`); return resolve(); }); - })); + }); }; const skipInstaller =