summaryrefslogtreecommitdiffhomepage
path: root/app/lib
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-07-16 20:54:39 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-07-16 20:54:39 +0200
commit508fc0775e62f9361df2814cad5229b7706d4095 (patch)
tree055ad745e22cb3b1cbbe91571d57a08070d4a525 /app/lib
parent8e219adbcc3523badf5a0351ca4a8e91596b4114 (diff)
parent313d3bf47cd3cc91bc34143deaa930d4bbea14ce (diff)
downloadmullvadvpn-508fc0775e62f9361df2814cad5229b7706d4095.tar.xz
mullvadvpn-508fc0775e62f9361df2814cad5229b7706d4095.zip
Merge branch 'add-eslint-promises'
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/rpc-address-file.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/rpc-address-file.js b/app/lib/rpc-address-file.js
index 6ff920b8df..f05cc54fdc 100644
--- a/app/lib/rpc-address-file.js
+++ b/app/lib/rpc-address-file.js
@@ -28,7 +28,7 @@ export class RpcAddressFile {
let promise = this._pollPromise;
if (!promise) {
- promise = new Promise((resolve, _reject) => {
+ promise = new Promise((resolve) => {
const timer = setInterval(() => {
fs.exists(this._filePath, (exists) => {
if (exists) {