Skip to content

Commit 05fce57

Browse files
lint++
1 parent dc03350 commit 05fce57

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/cli-device-node/lib/tests.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import shlex from 'shlex';
22
import pty from 'node-pty';
33

4-
import { promises as fs, createWriteStream } from 'node:fs';
4+
import { promises as fs } from 'node:fs';
55
import { randomBytes, createHash } from 'node:crypto';
66
import { fileURLToPath } from 'node:url';
77

@@ -28,7 +28,7 @@ const run = (cmd, options = {}) => new Promise((resolve, reject) => {
2828
//TODO remove when it becomes stable
2929
// "Importing JSON modules is an experimental feature" - https://nodejs.org/api/esm.html#json-modules
3030
// "The Fetch API is an experimental feature" - https://nodejs.org/api/globals.html#fetch
31-
NODE_NO_WARNINGS: '1'
31+
NODE_NO_WARNINGS: '1',
3232
};
3333
const program = child_process.spawn(process.argv[0], args, options);
3434
const chunks = [];
@@ -137,7 +137,7 @@ const getName = (...names) => [...names, Date.now().toString()]
137137
const downloadCachedFile = url => new Promise((resolve, reject) => {
138138
const suffix = createHash('sha256').update(url).digest('hex');
139139
const filename = path.join(os.tmpdir(), `test-h1-cli-v2-${suffix}`);
140-
140+
141141
fetch(url)
142142
.then(response => response.blob())
143143
.then(blob => fs.writeFile(filename, blob.stream()))

0 commit comments

Comments
 (0)