From d2a963ed1d70b5db674961eb83be8c3c98f2c4fd Mon Sep 17 00:00:00 2001 From: Nick Vella Date: Mon, 15 Jul 2019 16:54:45 +1000 Subject: [PATCH] ssg: ...: use SaveToFile instead of SaveToDisk to keep consistent --- .../Clients/StaticSite/StaticSiteClient.cs | 2 +- .../Clients/StaticSite/StaticSitePost.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/managed/OpenLiveWriter.BlogClient/Clients/StaticSite/StaticSiteClient.cs b/src/managed/OpenLiveWriter.BlogClient/Clients/StaticSite/StaticSiteClient.cs index 88529c26..7b1995d9 100644 --- a/src/managed/OpenLiveWriter.BlogClient/Clients/StaticSite/StaticSiteClient.cs +++ b/src/managed/OpenLiveWriter.BlogClient/Clients/StaticSite/StaticSiteClient.cs @@ -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 { diff --git a/src/managed/OpenLiveWriter.BlogClient/Clients/StaticSite/StaticSitePost.cs b/src/managed/OpenLiveWriter.BlogClient/Clients/StaticSite/StaticSitePost.cs index a3f1b61e..c6443848 100644 --- a/src/managed/OpenLiveWriter.BlogClient/Clients/StaticSite/StaticSitePost.cs +++ b/src/managed/OpenLiveWriter.BlogClient/Clients/StaticSite/StaticSitePost.cs @@ -201,7 +201,7 @@ namespace OpenLiveWriter.BlogClient.Clients.StaticSite /// /// Save the post to the correct directory /// - 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