From bf6d1f6555d80997d5e6efd01eb7645fbe339e8d Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 7 Apr 2020 13:26:27 +0200 Subject: [PATCH] Fix interactive-auth.js lint --- src/interactive-auth.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/interactive-auth.js b/src/interactive-auth.js index 48c791979..fc7429970 100644 --- a/src/interactive-auth.js +++ b/src/interactive-auth.js @@ -328,7 +328,8 @@ InteractiveAuth.prototype = { } catch (error) { // sometimes UI auth errors don't come with flows const errorFlows = error.data ? error.data.flows : null; - const haveFlows = Boolean(this._data && this._data.flows) || Boolean(errorFlows); + const haveFlows = Boolean(this._data && + this._data.flows) || Boolean(errorFlows); if (error.httpStatus !== 401 || !error.data || !haveFlows) { // doesn't look like an interactive-auth failure. if (!background) {