Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(resorts) {
const skillBuilder = SkillBuilders.custom();
skillBuilder.addRequestInterceptors(
dataInterceptor(resorts),
localizationInterceptor({
en,
'en-US': enUS,
}),
);
skillBuilder.addRequestHandlers(
launchHandler,
getSnowConditionsDialogHandler,
getSnowConditionsHandler,
helpHandler,
exitHandler,
fallbackHandler,
sessionEndedRequestHandler,