You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewError(`Invalid discovery. When specifying a file ID, the discovery type must be either "oas" or "archive". The current discovery types are: ${discoveryTypes.join(', ')}`);
thrownewError(`Invalid discovery. When specifying a file ID, the discovery type must be either "oas" or "archive" or "graphql". The current discovery types are: ${discoveryTypes.join(', ')}`);
thrownewError(`The discovery list cannot include both ${firstInvalidCombination?.[0]} and any of ${firstInvalidCombination?.[1].join(', ')} simultaneously.`);
31
+
thrownewError(`The discovery list cannot include both ${firstInvalidCombination[0]} and any of ${firstInvalidCombination[1].join(', ')} simultaneously.`);
throw new Error(`Invalid discovery. When specifying a file ID, the discovery type must be either "oas" or "archive". The current discovery types are: ${discoveryTypes.join(', ')}`);
throw new Error(`Invalid discovery. When specifying a file ID, the discovery type must be either "oas" or "archive" or "graphql". The current discovery types are: ${discoveryTypes.join(', ')}`);
57
58
}
58
59
}
59
60
else {
60
61
if (discoveryTypes.includes(discovery_1.Discovery.OAS) ||
throw new Error(`The discovery list cannot include both ${firstInvalidCombination?.[0]} and any of ${firstInvalidCombination?.[1].join(', ')} simultaneously.`);
112
+
throw new Error(`The discovery list cannot include both ${firstInvalidCombination[0]} and any of ${firstInvalidCombination[1].join(', ')} simultaneously.`);
0 commit comments