summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/util.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-08-08 09:15:19 -0400
committerGitHub <noreply@github.com>2023-08-08 09:15:19 -0400
commita037ed77a2b2dbef1d2c4175c0401738a13f13bd (patch)
treec5ab124149a7a316a5b7558dd2bc8f3aa3931c84 /ext/node/polyfills/util.ts
parent557b11b7657e1628082c271a9cece550b3c496fc (diff)
fix(fmt): do not insert expr stmt leading semi-colon in do while stmt body (#20093)
This is for when semiColons: false Closes #20089
Diffstat (limited to 'ext/node/polyfills/util.ts')
-rw-r--r--ext/node/polyfills/util.ts2
1 files changed, 1 insertions, 1 deletions
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}`;
}
/**