Skip to content
This repository has been archived by the owner on Nov 18, 2023. It is now read-only.

Commit

Permalink
fix: use correct property name when raising no-driver exception
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Oct 1, 2020
1 parent 0ae7654 commit 57bf260
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion npm-audit.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h5 class="card-title">
<div class="card">
<div class="card-body">
<h5 class="card-title">
October 1st 2020, 8:23:44 am
October 1st 2020, 8:24:44 am
</h5>
<p class="card-text">Last updated</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/Manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export abstract class Manager<
*/
const driver = this.getMappingDriver(mappingName)
if (!driver) {
throw new Error(`Make sure to define driver for "${name}" mapping`)
throw new Error(`Make sure to define driver for "${mappingName}" mapping`)
}

/**
Expand Down

0 comments on commit 57bf260

Please sign in to comment.