Skip to content

Commit

Permalink
remove unnecessary await
Browse files Browse the repository at this point in the history
  • Loading branch information
paulr34 committed Oct 12, 2023
1 parent 875c570 commit 6328755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-electron/upgrade/upgrade.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async function computeStoragePolicy(db, clusterId, attributes) {
let forcedExternal
clusterName = await queryCluster.selectClusterName(db, clusterId)
return await Promise.all(
await attributes.map(async (attribute) => {
attributes.map(async (attribute) => {
forcedExternal = await getForcedExternalStorage(db, attribute.id)
if (
forcedExternal.byName &&
Expand Down

0 comments on commit 6328755

Please sign in to comment.