ssg: ...: use SaveToFile instead of SaveToDisk to keep consistent

This commit is contained in:
Nick Vella 2019-07-15 16:54:45 +10:00
parent 60ec2275b6
commit d2a963ed1d
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ namespace OpenLiveWriter.BlogClient.Clients.StaticSite
// Ensure the post has a date
ssgPost.EnsureDatePublished();
// Save the post to disk
ssgPost.SaveToDisk();
ssgPost.SaveToFile();
try
{

View File

@ -201,7 +201,7 @@ namespace OpenLiveWriter.BlogClient.Clients.StaticSite
/// <summary>
/// Save the post to the correct directory
/// </summary>
public void SaveToDisk()
public void SaveToFile()
{
// Generate a safe slug if one isn't already generated
// This ensures we don't overwrite an existing post