Skip to content

Commit

Permalink
refactor: reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
alenakhineika committed Jul 18, 2024
1 parent fbf85af commit 46f4109
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/hadron-build/commands/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -522,7 +522,7 @@ exports.run = (argv, done) => {
cli.debug(`completed: ${name}`);
return resolve();
});
}));
});
};

const skipInstaller =
Expand Down

0 comments on commit 46f4109

Please sign in to comment.