mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
fix(fmt): do not insert expr stmt leading semi-colon in do while stmt body (#20093)
This is for when semiColons: false Closes #20089
This commit is contained in:
parent
557b11b765
commit
a037ed77a2
4 changed files with 5 additions and 5 deletions
|
@ -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",
|
||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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}`;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue