We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b9d680 commit 051976aCopy full SHA for 051976a
lib/commons/config.js
@@ -19,12 +19,10 @@ const getRequiredOption = (options, optionName) => {
19
20
const getApiKey = ({ apiKey, token }) => {
21
if (apiKey) return apiKey;
22
-
23
if (!token) throw new ReportPortalRequiredOptionError('apiKey');
24
25
console.warn(`Option 'token' is deprecated. Use 'apiKey' instead.`);
26
return token;
27
-}
+};
28
29
const getClientConfig = (options) => {
30
let calculatedOptions = options;
0 commit comments