Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Commit 57b3c0c

Browse files
committed
fix lint issues
1 parent 06354ca commit 57b3c0c

3 files changed

Lines changed: 3 additions & 13 deletions

File tree

samples/javascript_nodejs/02.echo-bot/index.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ server.listen(process.env.port || process.env.PORT || 3978, () => {
2929
console.log('\nTo talk to your bot, open the emulator select "Open Bot"');
3030
});
3131

32-
const botFrameworkAuthentication = loadAuthConfigFromEnv()
32+
const botFrameworkAuthentication = loadAuthConfigFromEnv();
3333

3434
// Create adapter.
3535
// See https://aka.ms/about-bot-adapter to learn more about how bots work.
@@ -68,13 +68,3 @@ server.post('/api/messages', async (req, res) => {
6868
// @ts-ignore
6969
await adapter.process(req, res, (context) => myBot.run(context));
7070
});
71-
72-
// // Listen for Upgrade requests for Streaming.
73-
// server.on('upgrade', async (req, socket, head) => {
74-
// // Create an adapter scoped to this WebSocket connection to allow storing session data.
75-
// const streamingAdapter = new CloudAdapter(botFrameworkAuthentication);
76-
// // Set onTurnError for the CloudAdapter created for each connection.
77-
// streamingAdapter.onTurnError = onTurnErrorHandler;
78-
79-
// await streamingAdapter.process(req, socket, head, (context) => myBot.run(context));
80-
// });

samples/javascript_nodejs/07.using-adaptive-cards/bots/adaptiveCardsBot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// @ts-check
55

66
const { ActivityHandler, CardFactory } = require('@microsoft/agents-hosting');
7-
const { Activity } = require('@microsoft/agents-activity')
7+
const { Activity } = require('@microsoft/agents-activity');
88
// Import AdaptiveCard content.
99
const FlightItineraryCard = require('../resources/FlightItineraryCard.json');
1010
const ImageGalleryCard = require('../resources/ImageGalleryCard.json');

samples/javascript_nodejs/44.prompt-for-user-input/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ server.listen(process.env.port || process.env.PORT || 3978, function() {
3434
console.log('\nTo talk to your bot, open the emulator select "Open Bot"');
3535
});
3636

37-
const botFrameworkAuthentication = loadAuthConfigFromEnv()
37+
const botFrameworkAuthentication = loadAuthConfigFromEnv();
3838

3939
// Create adapter.
4040
// See https://aka.ms/about-bot-adapter to learn more about how bots work.

0 commit comments

Comments
 (0)