Skip to content

Commit 4680403

Browse files
OlivierSalaclaude
andcommitted
Remove pause between notebooks during multi-notebook export
The program no longer asks to press Enter between notebooks when errors occur. It only pauses at the very end of all exports. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 14c9708 commit 4680403

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

src/OneNoteMdExporter/OneNoteMdExporter.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
88
<PublishReadyToRun>true</PublishReadyToRun>
99
<PublishTrimmed>False</PublishTrimmed>
10-
<Version>1.6.6</Version>
10+
<Version>1.6.7</Version>
1111
<PackageId>OneNoteMdExporter</PackageId>
1212
<Authors>alxnbl</Authors>
1313
<Company />

src/OneNoteMdExporter/Program.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -218,12 +218,6 @@ private static void RunOptions(Options opts)
218218
Console.BackgroundColor = ConsoleColor.DarkMagenta;
219219
Log.Error(result.NoteBookExportErrorMessage);
220220
Console.BackgroundColor = ConsoleColor.Black;
221-
222-
if (!opts.NoInput)
223-
{
224-
Log.Information(Localizer.GetString("PressEnter"));
225-
Console.ReadLine();
226-
}
227221
}
228222
else if (result.PagesOnError > 0)
229223
{
@@ -233,12 +227,6 @@ private static void RunOptions(Options opts)
233227
Log.Warning(string.Format(Localizer.GetString("ExportEndedWithErrors"), Path.GetFullPath(notebook.ExportFolder), result.PagesOnError, loggerFilename));
234228
Console.BackgroundColor = ConsoleColor.Black;
235229
Log.Information("");
236-
237-
if (!opts.NoInput)
238-
{
239-
Log.Information(Localizer.GetString("PressEnter"));
240-
Console.ReadLine();
241-
}
242230
}
243231
else
244232
{

0 commit comments

Comments
 (0)