diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-08-08 09:15:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-08 09:15:19 -0400 |
commit | a037ed77a2b2dbef1d2c4175c0401738a13f13bd (patch) | |
tree | c5ab124149a7a316a5b7558dd2bc8f3aa3931c84 /ext/node/polyfills/util.ts | |
parent | 557b11b7657e1628082c271a9cece550b3c496fc (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.ts | 2 |
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}`; } /** |