repositories
/
e-mobility-charging-stations-simulator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6798437
)
Remove wrong eslint-disable-next-line class-methods-use-this
author
Jérôme Benoit
<jerome.benoit@sap.com>
Fri, 17 Apr 2020 19:13:30 +0000
(21:13 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Fri, 17 Apr 2020 19:13:30 +0000
(21:13 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/Worker.js
patch
|
blob
|
blame
|
history
diff --git
a/src/charging-station/Worker.js
b/src/charging-station/Worker.js
index 7e899d40328eea4082568382717745296b879050..db82e8215fd0dad8fca89da13431c36f3c5c195d 100644
(file)
--- a/
src/charging-station/Worker.js
+++ b/
src/charging-station/Worker.js
@@
-24,7
+24,6
@@
class Wrk {
* @param {Number} numConcurrentWorkers
* @private
*/
- // eslint-disable-next-line class-methods-use-this
set _numConcurrentWorkers(numConcurrentWorkers) {
if (numConcurrentWorkers > 10) {
EventEmitter.defaultMaxListeners = numConcurrentWorkers + 1;
@@
-32,7
+31,6
@@
class Wrk {
this._concurrentWorkers = numConcurrentWorkers;
}
- // eslint-disable-next-line class-methods-use-this
get _numConcurrentWorkers() {
return this._concurrentWorkers;
}