Skip to content

Commit

Permalink
fixed request#31
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Faizan Uddin committed Mar 23, 2021
1 parent 9807910 commit 005b1f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Caseless.prototype.get = function (name) {
Caseless.prototype.swap = function (name) {
var has = this.has(name)
if (has === name) return
if (!has) throw new Error('There is no header than matches "'+name+'"')
if (!has) throw new Error('There is no header that matches "'+name+'"')
this.dict[name] = this.dict[has]
delete this.dict[has]
}
Expand Down

0 comments on commit 005b1f0

Please sign in to comment.