summaryrefslogtreecommitdiffhomepage
path: root/app/lib
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-07-11 13:10:43 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-07-16 20:34:15 +0200
commit9cde5c51adb96d16e20580a73f59ac8e4ffdf23d (patch)
tree39775ede1876e8e5ad24c9f8d4bb73cac0eb80be /app/lib
parent3e5c5aacde5f8e78820261f3fa9e0474f639823f (diff)
downloadmullvadvpn-9cde5c51adb96d16e20580a73f59ac8e4ffdf23d.tar.xz
mullvadvpn-9cde5c51adb96d16e20580a73f59ac8e4ffdf23d.zip
Fix eslint promise issues
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) {