Skip to content

Commit

Permalink
Refactor messages and documentation for bot.json -> bot.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
nloum committed Oct 26, 2024
2 parents d74cccd + 16ff974 commit bd92ea4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CodegenBot/ProvidedSchemaUtility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static class ProvidedSchemaUtility
/// and once the bot.yaml file is found, reads the providedSchema field from it. That providedSchema field is a path
/// to where we should write the GraphQL schema that this bot implements.
/// </summary>
/// <param name="directory">The directory to start searching in for bot.json. If null, defaults to the current working directory.</param>
/// <param name="directory">The directory to start searching in for bot.yaml. If null, defaults to the current working directory.</param>
/// <returns>The absolute path to where we should write the providedSchema file, if bot.yaml is found and the providedSchema field is in it.</returns>
public static string? CalculateProvidedSchemaPath(string? directory = null)
{
Expand All @@ -42,7 +42,7 @@ public static class ProvidedSchemaUtility

if (botSpec is null)
{
Console.WriteLine("Can't read bot.json");
Console.WriteLine("Can't read bot.yaml");
return null;
}

Expand Down

0 comments on commit bd92ea4

Please sign in to comment.