Skip to content

Commit

Permalink
Remove unused getUpdatedPageContent function from CreateSiteHelper to…
Browse files Browse the repository at this point in the history
… streamline code
  • Loading branch information
amitjoshi committed Nov 27, 2024
1 parent 0f73785 commit ec005a6
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,4 @@ function previewSitePagesContent(
throw error;
}
}
// Function to get updated content
export function getUpdatedPageContent(contentProvider: EditableFileSystemProvider, pageName: string): string {
const pageUri = vscode.Uri.parse(`${EDITABLE_SCHEME}:/${pageName}${HTML_FILE_EXTENSION}`);
return contentProvider.getFileContent(pageUri);
}

0 comments on commit ec005a6

Please sign in to comment.