Skip to content

Commit

Permalink
WEB-1471:FIX: remove error
Browse files Browse the repository at this point in the history
  • Loading branch information
snipebin committed Apr 3, 2018
1 parent 235d9d8 commit 8ee4fe2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,7 @@ class GaTaskManager {
*/
remove() {
this.gaTaskNames.forEach((gaTaskName) => {
const originalTaskFunction = this.registry[gaTaskName].find((element) => {
return element.name == 'original';
});
const originalTaskFunction = this.registry[gaTaskName]['original'];
this.tracker.set(gaTaskName, originalTaskFunction);
});
}
Expand Down

0 comments on commit 8ee4fe2

Please sign in to comment.