Skip to content

Commit

Permalink
fix(fmt): do not insert expr stmt leading semi-colon in do while stmt…
Browse files Browse the repository at this point in the history
… body (denoland#20093)

This is for when semiColons: false

Closes denoland#20089
  • Loading branch information
dsherret committed Aug 8, 2023
1 parent 557b11b commit a037ed7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion ext/node/polyfills/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
}

/**
Expand Down

0 comments on commit a037ed7

Please sign in to comment.