Skip to content

Commit

Permalink
Fix bad refactoring of getHost()
Browse files Browse the repository at this point in the history
  • Loading branch information
Slava committed Aug 10, 2015
1 parent bd6a0c0 commit c9334d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ exports.printPackageList = function (items, options) {
// any particular technical significance (eg, might resolve in DNS).
exports.getHost = function (...args) {
var ret;
var attempt = function () {
var attempt = function (...args) {
var output = exports.execFileSync(args[0], args.slice(1)).stdout;
if (output) {
ret = output.trim();
Expand Down

0 comments on commit c9334d3

Please sign in to comment.