Skip to content

Commit

Permalink
Fixed doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Pogromca-SCP committed Oct 17, 2023
1 parent 4cd9989 commit 880773d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions SLCommandScript.FileScriptsLoader/Loader/CommandsDirectory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ public class CommandsDirectory : IDisposable
/// </summary>
public const string ScriptDescriptionExtension = "json";

/// <summary>
/// Updates command description.
/// </summary>
/// <param name="cmd">Command to update.</param>
/// <param name="data">New description values to set.</param>
private static void UpdateCommandDesc(FileScriptCommand cmd, CommandMetaData data)
{
cmd.Description = data.Description;
Expand Down Expand Up @@ -257,8 +262,7 @@ private bool UpdateScriptDescription(string path)
/// Unregisters a script command.
/// </summary>
/// <param name="path">Script command file to unregister.</param>
/// <param name="cmd">Command to unregister.</param>
/// <returns><see langword="true" /> if unregistered without issues, <see langword="false" /> otherwise.</returns>
/// <returns>Unregistered command if no issues occured, <see langword="null" /> otherwise.</returns>
private ICommand UnregisterCommand(string path)
{
var dir = HelpersProvider.FileSystemHelper.GetDirectory(path);
Expand Down

0 comments on commit 880773d

Please sign in to comment.