diff options
| author | Luca Casonato <hello@lcas.dev> | 2021-07-13 00:04:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-13 00:04:44 +0200 |
| commit | 9c020d8c27dd57057db645a96f7b4ec924074e37 (patch) | |
| tree | 96cd31321936d6a50bc5b54a5c5f4a681c5dc417 /cli | |
| parent | 2c7c130f0a7193c4a497d40f07774d08fbb43ecf (diff) | |
upgrade: deno_lint 0.10.0 (#11374)
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/Cargo.toml | 2 | ||||
| -rw-r--r-- | cli/tests/unit/io_test.ts | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 7fbd5b77d..5ca87e104 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -44,7 +44,7 @@ winres = "0.1.11" [dependencies] deno_core = { version = "0.92.0", path = "../core" } deno_doc = "0.8.0" -deno_lint = "0.9.0" +deno_lint = "0.10.0" deno_runtime = { version = "0.18.1", path = "../runtime" } atty = "0.2.14" diff --git a/cli/tests/unit/io_test.ts b/cli/tests/unit/io_test.ts index c5c111e85..210de137d 100644 --- a/cli/tests/unit/io_test.ts +++ b/cli/tests/unit/io_test.ts @@ -35,6 +35,7 @@ unitTest(async function copyWithDefaultBufferSize() { const readSpy = spyRead(reader); + // deno-lint-ignore no-deprecated-deno-api const n = await Deno.copy(reader, write); assertEquals(n, xBytes.length); @@ -50,6 +51,7 @@ unitTest(async function copyWithCustomBufferSize() { const readSpy = spyRead(reader); + // deno-lint-ignore no-deprecated-deno-api const n = await Deno.copy(reader, write, { bufSize }); assertEquals(n, xBytes.length); @@ -65,6 +67,7 @@ unitTest({ perms: { write: true } }, async function copyBufferToFile() { const reader = new Buffer(xBytes.buffer as ArrayBuffer); const write = await Deno.open(filePath, { write: true, create: true }); + // deno-lint-ignore no-deprecated-deno-api const n = await Deno.copy(reader, write, { bufSize }); assertEquals(n, xBytes.length); |
