fix warning and add lock files

This commit is contained in:
Tom Laird-McConnell 2017-08-04 13:47:12 -07:00
Родитель 296bd2ee4c
Коммит d327d6762d
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -26,9 +26,9 @@ namespace Microsoft.Bot.Builder
SetField.NotNull(out this.logger, nameof(logger), logger);
}
public async Task<BotContext> CreateBotContext(IActivity activity, CancellationToken token)
public Task<BotContext> CreateBotContext(IActivity activity, CancellationToken token)
{
return new BotContext(activity, this.dataContext, this.postToUser, this.logger);
return Task.FromResult(new BotContext(activity, this.dataContext, this.postToUser, this.logger));
}
public async Task<BotContext> CreateBotContext(ConversationReference reference, CancellationToken token)