Skip to content

Commit

Permalink
Correct _host in path getter
Browse files Browse the repository at this point in the history
Fixes #3
  • Loading branch information
hawkins authored May 11, 2017
1 parent 29fbae9 commit f744601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ function Registry (options) {
* @readonly
* @member {string} Registry#path
*/
this.__defineGetter__('path', function () { return (_host.length == 0 ? '' : '\\\\' + host + '\\') + _hive + _key; });
this.__defineGetter__('path', function () { return (_host.length == 0 ? '' : '\\\\' + _host + '\\') + _hive + _key; });

/**
* The registry hive architecture ('x86' or 'x64').
Expand Down

0 comments on commit f744601

Please sign in to comment.