Skip to content

Commit

Permalink
Fix override ally drivers issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mirzaeiyan committed Nov 22, 2020
1 parent 3c8697f commit 99afbbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AllyManager.js
Expand Up @@ -54,7 +54,7 @@ class AllyManager {
throw GE.InvalidArgumentException.invalidParameter('Cannot get driver instance without a name')
}

const Driver = Drivers[name.toLowerCase()] || this._drivers[name.toLowerCase()]
const Driver = this._drivers[name.toLowerCase()] || Drivers[name.toLowerCase()]
if (!Driver) {
throw GE.InvalidArgumentException.invalidParameter(`${name} is not a valid ally driver`)
}
Expand Down

0 comments on commit 99afbbb

Please sign in to comment.