From 46a74c16755aa71e95b56d8c8260983e471ae9e1 Mon Sep 17 00:00:00 2001 From: Zane Whitfield Date: Thu, 1 Aug 2024 16:20:09 -0700 Subject: [PATCH] Update linting after updating standard dependency --- commands/connect/diagnose.js | 2 +- lib/clients/discovery.js | 2 +- test/commands/connect/sf-auth.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/connect/diagnose.js b/commands/connect/diagnose.js index 1ed1bf6..1863340 100644 --- a/commands/connect/diagnose.js +++ b/commands/connect/diagnose.js @@ -104,5 +104,5 @@ module.exports = { })), // Additional exports for code sharing - displayResults: displayResults + displayResults } diff --git a/lib/clients/discovery.js b/lib/clients/discovery.js index 273c8da..0ee7086 100644 --- a/lib/clients/discovery.js +++ b/lib/clients/discovery.js @@ -25,7 +25,7 @@ class DiscoveryClient { requestAppAccess (appName, addonType) { const addonTypeQueryParam = addonType ? `?addon_type=${addonType}` : '' const url = `/auth/${appName}${addonTypeQueryParam}` - return this.client({ url: url, method: 'POST' }) + return this.client({ url, method: 'POST' }) } } diff --git a/test/commands/connect/sf-auth.js b/test/commands/connect/sf-auth.js index 0b0eaa1..1375335 100644 --- a/test/commands/connect/sf-auth.js +++ b/test/commands/connect/sf-auth.js @@ -66,7 +66,7 @@ describe('connect:sf:auth', () => { resource: resourceName }, auth: { - password: password + password } }, {}) .then(() => expect(