Fixed bug in vbscript debug generation.

This commit is contained in:
James Forshaw
2017-10-07 05:02:48 +01:00
parent dbb831c52b
commit ab58ad6bb9
+1 -1
View File
@@ -28,7 +28,7 @@ namespace DotNetToJScript
builder.AppendLine("Sub DebugPrint(s)");
if (!String.IsNullOrEmpty(debug_statement))
{
builder.AppendLine("{0} s");
builder.AppendFormat("{0} s", debug_statement).AppendLine();
}
builder.AppendLine("End Sub");
builder.AppendLine();