Skip to content

Commit

Permalink
fix: various formatting fixes (denoland#15412)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Aug 5, 2022
1 parent 9c594de commit 888b268
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 23 deletions.
6 changes: 3 additions & 3 deletions .dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
"tools/wpt/manifest.json"
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.70.0.wasm",
"https://plugins.dprint.dev/json-0.15.3.wasm",
"https://plugins.dprint.dev/markdown-0.13.3.wasm",
"https://plugins.dprint.dev/typescript-0.71.2.wasm",
"https://plugins.dprint.dev/json-0.15.5.wasm",
"https://plugins.dprint.dev/markdown-0.14.0.wasm",
"https://plugins.dprint.dev/toml-0.5.4.wasm",
"https://plugins.dprint.dev/exec-0.3.1.json@9351b67ec7a6b58a69201c2834cba38cb3d191080aefc6422fb1320f03c8fc4d"
]
Expand Down
20 changes: 10 additions & 10 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,17 @@ clap_complete = "=3.1.2"
clap_complete_fig = "=3.1.5"
data-url = "=0.1.1"
dissimilar = "=1.0.3"
dprint-plugin-json = "=0.15.4"
dprint-plugin-markdown = "=0.13.3"
dprint-plugin-typescript = "=0.71.1"
dprint-plugin-json = "=0.15.5"
dprint-plugin-markdown = "=0.14.0"
dprint-plugin-typescript = "=0.71.2"
encoding_rs = "=0.8.31"
env_logger = "=0.9.0"
eszip = "=0.22.0"
fancy-regex = "=0.9.0"
http = "=0.2.6"
import_map = "=0.12.1"
indexmap = "1.8.1"
jsonc-parser = { version = "=0.20.0", features = ["serde"] }
jsonc-parser = { version = "=0.21.0", features = ["serde"] }
libc = "=0.2.126"
log = { version = "=0.4.17", features = ["serde"] }
mitata = '=0.0.7'
Expand Down
9 changes: 3 additions & 6 deletions runtime/js/10_permissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@
if (!isValidDescriptor(desc)) {
return PromiseReject(
new TypeError(
`The provided value "${desc
?.name}" is not a valid permission name.`,
`The provided value "${desc?.name}" is not a valid permission name.`,
),
);
}
Expand All @@ -186,8 +185,7 @@
if (!isValidDescriptor(desc)) {
return PromiseReject(
new TypeError(
`The provided value "${desc
?.name}" is not a valid permission name.`,
`The provided value "${desc?.name}" is not a valid permission name.`,
),
);
}
Expand All @@ -206,8 +204,7 @@
if (!isValidDescriptor(desc)) {
return PromiseReject(
new TypeError(
`The provided value "${desc
?.name}" is not a valid permission name.`,
`The provided value "${desc?.name}" is not a valid permission name.`,
),
);
}
Expand Down

0 comments on commit 888b268

Please sign in to comment.