diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-07-16 20:54:39 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-07-16 20:54:39 +0200 |
| commit | 508fc0775e62f9361df2814cad5229b7706d4095 (patch) | |
| tree | 055ad745e22cb3b1cbbe91571d57a08070d4a525 /app/lib | |
| parent | 8e219adbcc3523badf5a0351ca4a8e91596b4114 (diff) | |
| parent | 313d3bf47cd3cc91bc34143deaa930d4bbea14ce (diff) | |
| download | mullvadvpn-508fc0775e62f9361df2814cad5229b7706d4095.tar.xz mullvadvpn-508fc0775e62f9361df2814cad5229b7706d4095.zip | |
Merge branch 'add-eslint-promises'
Diffstat (limited to 'app/lib')
| -rw-r--r-- | app/lib/rpc-address-file.js | 2 |
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) { |
