Skip to content

Commit

Permalink
#27: Fixed error in creating current CodeFile
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcinCelej committed Jan 6, 2024
1 parent 826e4db commit c6eaf2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
)
- CodeFile.Current(
path: string [CallerFilePath, Optional]
) : CodeFolder
) : CodeFile
- ReadAllText() : string
- RelativeTo(
folder: CodeFolder
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Synergy.Documentation/Code/CodeFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace Synergy.Documentation.Code;

public class CodeFile
{
public static CodeFolder Current([CallerFilePath] string path = "")
public static CodeFile Current([CallerFilePath] string path = "")
=> new(path);

public string FilePath { get; }
Expand Down

0 comments on commit c6eaf2a

Please sign in to comment.