Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dc9e688

Browse filesBrowse files
Trotttargos
authored andcommitted
test: add semicolons for linter update
Add missing semicolons that will be flagged when we update @babel/eslint-parser to 7.16.0. PR-URL: #40720 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 30623c2 commit dc9e688
Copy full SHA for dc9e688

File tree

Expand file treeCollapse file tree

8 files changed

+21
-21
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

8 files changed

+21
-21
lines changed
Open diff view settings
Collapse file

‎lib/internal/assert/calltracker.js‎

Copy file name to clipboardExpand all lines: lib/internal/assert/calltracker.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const noop = FunctionPrototype;
2222

2323
class CallTracker {
2424

25-
#callChecks = new SafeSet()
25+
#callChecks = new SafeSet();
2626

2727
calls(fn, exact = 1) {
2828
if (process._exiting)
Collapse file

‎lib/internal/fs/promises.js‎

Copy file name to clipboardExpand all lines: lib/internal/fs/promises.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ class FileHandle extends EventEmitterMixin(JSTransferable) {
229229

230230
this.emit('close');
231231
return this[kClosePromise];
232-
}
232+
};
233233

234234
/**
235235
* @typedef {import('../webstreams/readablestream').ReadableStream
Collapse file

‎lib/internal/source_map/source_map.js‎

Copy file name to clipboardExpand all lines: lib/internal/source_map/source_map.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class SourceMap {
164164
this.#parseMap(this.#payload, 0, 0);
165165
}
166166
ArrayPrototypeSort(this.#mappings, compareSourceMapEntry);
167-
}
167+
};
168168

169169
/**
170170
* @param {Array.<SourceMapV3.Section>} sections
@@ -174,7 +174,7 @@ class SourceMap {
174174
const section = sections[i];
175175
this.#parseMap(section.map, section.offset.line, section.offset.column);
176176
}
177-
}
177+
};
178178

179179
/**
180180
* @param {number} lineNumber in compiled resource
Collapse file

‎lib/internal/watchdog.js‎

Copy file name to clipboardExpand all lines: lib/internal/watchdog.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class SigintWatchdog extends TraceSigintWatchdog {
1919
super.start();
2020
this._effective = true;
2121
}
22-
}
22+
};
2323

2424
start() {
2525
if (this._started) {
Collapse file

‎test/parallel/test-http-agent-domain-reused-gc.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-http-agent-domain-reused-gc.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ server.emit('connection', serverSide);
5555

5656
// HTTP Agent that only returns the fake connection.
5757
class TestAgent extends http.Agent {
58-
createConnection = common.mustCall(() => wrappedClientSide)
58+
createConnection = common.mustCall(() => wrappedClientSide);
5959
}
6060
const agent = new TestAgent({ keepAlive: true, maxSockets: 1 });
6161

Collapse file

‎test/parallel/test-readline-promises-tab-complete.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-readline-promises-tab-complete.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ common.skipIfDumbTerminal();
4242
const width = getStringWidth(char) - 1;
4343

4444
class FakeInput extends EventEmitter {
45-
columns = ((width + 1) * 10 + (lineBreak ? 0 : 10)) * 3
45+
columns = ((width + 1) * 10 + (lineBreak ? 0 : 10)) * 3;
4646

4747
write = common.mustCall((data) => {
4848
output += data;
49-
}, 6)
49+
}, 6);
5050

5151
resume() {}
5252
pause() {}
@@ -86,11 +86,11 @@ common.skipIfDumbTerminal();
8686
{
8787
let output = '';
8888
class FakeInput extends EventEmitter {
89-
columns = 80
89+
columns = 80;
9090

9191
write = common.mustCall((data) => {
9292
output += data;
93-
}, 1)
93+
}, 1);
9494

9595
resume() {}
9696
pause() {}
Collapse file

‎test/parallel/test-readline-tab-complete.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-readline-tab-complete.js
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ common.skipIfDumbTerminal();
3131
const width = getStringWidth(char) - 1;
3232

3333
class FakeInput extends EventEmitter {
34-
columns = ((width + 1) * 10 + (lineBreak ? 0 : 10)) * 3
34+
columns = ((width + 1) * 10 + (lineBreak ? 0 : 10)) * 3;
3535

3636
write = common.mustCall((data) => {
3737
output += data;
38-
}, 6)
38+
}, 6);
3939

4040
resume() {}
4141
pause() {}
@@ -72,11 +72,11 @@ common.skipIfDumbTerminal();
7272
{
7373
let output = '';
7474
class FakeInput extends EventEmitter {
75-
columns = 80
75+
columns = 80;
7676

7777
write = common.mustCall((data) => {
7878
output += data;
79-
}, 1)
79+
}, 1);
8080

8181
resume() {}
8282
pause() {}
@@ -104,11 +104,11 @@ common.skipIfDumbTerminal();
104104
{
105105
let output = '';
106106
class FakeInput extends EventEmitter {
107-
columns = 80
107+
columns = 80;
108108

109109
write = common.mustCall((data) => {
110110
output += data;
111-
}, 9)
111+
}, 9);
112112

113113
resume() {}
114114
pause() {}
Collapse file

‎test/parallel/test-stream-construct-async-error.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-stream-construct-async-error.js
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const assert = require('assert');
7272

7373
_write = common.mustCall((chunk, encoding, cb) => {
7474
cb();
75-
})
75+
});
7676

7777
_read() {}
7878
}
@@ -91,7 +91,7 @@ const assert = require('assert');
9191

9292
_write = common.mustCall((chunk, encoding, cb) => {
9393
cb();
94-
})
94+
});
9595

9696
_read() {}
9797
}
@@ -107,7 +107,7 @@ const assert = require('assert');
107107
class Foo extends Writable {
108108
_write = common.mustCall((chunk, encoding, cb) => {
109109
cb();
110-
})
110+
});
111111

112112
async _final() {
113113
// eslint-disable-next-line no-restricted-syntax
@@ -124,7 +124,7 @@ const assert = require('assert');
124124
class Foo extends Writable {
125125
_write = common.mustCall((chunk, encoding, cb) => {
126126
cb();
127-
})
127+
});
128128

129129
async _final(callback) {
130130
// eslint-disable-next-line no-restricted-syntax
@@ -142,7 +142,7 @@ const assert = require('assert');
142142
class Foo extends Writable {
143143
_write = common.mustCall((chunk, encoding, cb) => {
144144
cb();
145-
})
145+
});
146146

147147
async _final() {
148148
// eslint-disable-next-line no-restricted-syntax

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.