From c59c7ea7fc43630b6a9cd69ec5f599ca0426ff7a Mon Sep 17 00:00:00 2001 From: Mitchell Hentges Date: Mon, 29 Feb 2016 16:55:19 +0100 Subject: [PATCH] Forgot to bind() version function --- lib/darwin/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/darwin/index.js b/lib/darwin/index.js index 2c6ce03..c89bd3d 100644 --- a/lib/darwin/index.js +++ b/lib/darwin/index.js @@ -3,7 +3,7 @@ var util = require('./util'); function browser(id, versionKey) { return { path: util.find.bind(null, id), - version: util.getInfoKey(null, id, versionKey) + version: util.getInfoKey.bind(null, id, versionKey) }; }