Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
stevencohn committed Apr 29, 2024
1 parent 5791f61 commit 30365fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OneMore/Commands/File/ImportCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ private async Task ImportWordFile(string filepath, bool append, CancellationToke
progress.SetMessage($"Importing {filepath}...");

string html;
// do not use single-line using here!!
using (var word = new Word())
{
html = word.ConvertFileToHtml(filepath);
Expand Down

0 comments on commit 30365fb

Please sign in to comment.