refactor: remove extraneous else
This commit is contained in:
parent
3b96f85c55
commit
aa056ff1c1
1 changed files with 1 additions and 2 deletions
|
|
@ -38,9 +38,8 @@ const firefoxWithoutProxy = (req, _store) => new Promise((resolve, reject) => {
|
|||
const firefoxStrategy = (req, store) => {
|
||||
if (store.state.postwoman.settings.PROXY_ENABLED) {
|
||||
return firefoxWithProxy(req, store);
|
||||
} else {
|
||||
return firefoxWithoutProxy(req, store);
|
||||
}
|
||||
return firefoxWithoutProxy(req, store);
|
||||
}
|
||||
|
||||
export default firefoxStrategy;
|
||||
|
|
|
|||
Loading…
Reference in a new issue