Skip to content

Commit

Permalink
[INTERNAL] LocatorResourcePool: pass through constructor arguments
Browse files Browse the repository at this point in the history
remove constructor because it does not do anything extra
  • Loading branch information
tobiasso85 committed Aug 28, 2020
1 parent 5795d48 commit e5f88ac
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/lbt/resources/LocatorResourcePool.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
const ResourcePool = require("./ResourcePool");
const LocatorResource = require("./LocatorResource");


class LocatorResourcePool extends ResourcePool {
constructor(parameters) {
super(parameters);
}

prepare(resources) {
resources = resources.filter( (res) => !res.getStatInfo().isDirectory() );
return Promise.all(
Expand Down

0 comments on commit e5f88ac

Please sign in to comment.