Skip to content

Commit 0792fc0

Browse files
committed
Remove unnecessary Promise.resolve() calls
1 parent a394b25 commit 0792fc0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

backend/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@ async function appStart () {
2020
logger.info('IP Ranges fetch is enabled');
2121
return internalIpRanges.fetch().catch((err) => {
2222
logger.error('IP Ranges fetch failed, continuing anyway:', err.message);
23-
return Promise.resolve();
2423
});
2524
} else {
2625
logger.info('IP Ranges fetch is disabled by environment variable');
27-
return Promise.resolve();
2826
}
2927
})
3028
.then(() => {

0 commit comments

Comments
 (0)