mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
debugger: use strict equality comparison
There is no type-conversion to be done. Therefore, use the === operator. PR-URL: https://github.com/nodejs/node/pull/2558 Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
parent
607bbd3166
commit
f55926a1f0
@ -173,7 +173,7 @@ Client.prototype._addHandle = function(desc) {
|
||||
|
||||
this.handles[desc.handle] = desc;
|
||||
|
||||
if (desc.type == 'script') {
|
||||
if (desc.type === 'script') {
|
||||
this._addScript(desc);
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user