From a037ed77a2b2dbef1d2c4175c0401738a13f13bd Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 8 Aug 2023 09:15:19 -0400 Subject: fix(fmt): do not insert expr stmt leading semi-colon in do while stmt body (#20093) This is for when semiColons: false Closes #20089 --- ext/node/polyfills/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/node/polyfills/util.ts b/ext/node/polyfills/util.ts index 36ee12c42..69cd373d7 100644 --- a/ext/node/polyfills/util.ts +++ b/ext/node/polyfills/util.ts @@ -198,7 +198,7 @@ function timestamp(): string { pad(d.getMinutes()), pad(d.getSeconds()), ].join(":"); - return `${(d.getDate())} ${months[(d).getMonth()]} ${t}`; + return `${(d.getDate())} ${months[d.getMonth()]} ${t}`; } /** -- cgit v1.2.3