Skip to content

Commit

Permalink
Fix: pass params to super constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
JPeer264 committed Jan 7, 2021
1 parent 7bc61b0 commit a7269b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/attributeLibrary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ export class AttributeLibrary extends BaseLibrary {
return false;
}

constructor() {
super();
constructor(name?: string) {
super(name);

this.setExclude(excludeList);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Rename css selectors across all files",
"main": "dest",
"scripts": {
"test": "jest --coverage",
"test": "tsc --noEmit && jest --coverage",
"build": "rimraf dest && tsc && babel dest -d dest",
"lint": "eslint lib/**/*.ts __tests__/**/*.ts",
"fix": "eslint lib/**/*.ts __tests__/**/*.ts --fix",
Expand Down

0 comments on commit a7269b5

Please sign in to comment.