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 | |
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
-rw-r--r-- | .dprint.json | 2 | ||||
-rw-r--r-- | Cargo.lock | 4 | ||||
-rw-r--r-- | cli/Cargo.toml | 2 | ||||
-rw-r--r-- | ext/node/polyfills/util.ts | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/.dprint.json b/.dprint.json index 6def37f58..29ac6d825 100644 --- a/.dprint.json +++ b/.dprint.json @@ -55,7 +55,7 @@ "ext/websocket/autobahn/reports" ], "plugins": [ - "https://plugins.dprint.dev/typescript-0.85.1.wasm", + "https://plugins.dprint.dev/typescript-0.86.1.wasm", "https://plugins.dprint.dev/json-0.17.4.wasm", "https://plugins.dprint.dev/markdown-0.15.3.wasm", "https://plugins.dprint.dev/toml-0.5.4.wasm", diff --git a/Cargo.lock b/Cargo.lock index d7a3b7b3c..399fe53cc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1699,9 +1699,9 @@ dependencies = [ [[package]] name = "dprint-plugin-typescript" -version = "0.85.0" +version = "0.86.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e49896ccb3ca2bfe03d96316b7acb0ce83dcfce69adc5b228f16fa6b30fb674b" +checksum = "8ef1276e8b038bd3db5a3d8fd9be92941223b308b5edf26db927682f4612506b" dependencies = [ "anyhow", "deno_ast", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index c1779c102..7b7066db7 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -74,7 +74,7 @@ data-url.workspace = true dissimilar = "=1.0.4" dprint-plugin-json = "=0.17.4" dprint-plugin-markdown = "=0.15.3" -dprint-plugin-typescript = "=0.85.0" +dprint-plugin-typescript = "=0.86.1" encoding_rs.workspace = true env_logger = "=0.9.0" fancy-regex = "=0.10.0" 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}`; } /** |