in src/input.ts [24:42]
function getExpWorkspaceEndpoint() {
let expWorkspaceEndpoint = getRequiredInputString(
'online-experimentation-workspace-endpoint'
)
expWorkspaceEndpoint = expWorkspaceEndpoint.trim().replace(/\/+$/, '')
if (!expWorkspaceEndpoint.startsWith('https://')) {
throw new ArgumentError(
'The online-experimentation-workspace-endpoint should start with https://'
)
}
if (!expWorkspaceEndpoint.includes('exp.azure.net')) {
throw new ArgumentError(
'The online-experimentation-workspace-endpoint should include exp.azure.net'
)
}
return expWorkspaceEndpoint
}