From 1afcaa7d13ecf7621ac319e5f07c5a0b482928bb Mon Sep 17 00:00:00 2001 From: nic <89776861+nic-agoda@users.noreply.github.com> Date: Tue, 9 Nov 2021 16:57:47 +0700 Subject: [PATCH] Fix typo in csharpSyntax.ts Change sumary to summary. --- nodejs/src/helpers/csharpSyntax.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodejs/src/helpers/csharpSyntax.ts b/nodejs/src/helpers/csharpSyntax.ts index 4b8520e..c2c19bf 100644 --- a/nodejs/src/helpers/csharpSyntax.ts +++ b/nodejs/src/helpers/csharpSyntax.ts @@ -28,7 +28,7 @@ export function toCsharpComment(text: string): SafeString { if(text === undefined || text === null || text === "") { return new SafeString(""); } - return new SafeString(`/// ${text.replace(/\r?\n|\r/g, " ")}`); + return new SafeString(`/// ${text.replace(/\r?\n|\r/g, " ")}`); } catch(e) { logger.error("toCsharpComment", e); throw e;