Skip to content

Commit

Permalink
Fix uncaught exception "no method toFixed()".
Browse files Browse the repository at this point in the history
Fixes #22.
  • Loading branch information
TooTallNate committed Feb 13, 2012
1 parent d283989 commit 2fb72a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ function install (gyp, argv, callback) {
var releaseDir = path.join(devDir, 'Release')
, debugDir = path.join(devDir, 'Debug')
, patchVersion = nodeLibMap[version] || '0'
, nodeLibUrl = distUrl + '/v' + version.toFixed(1) + '.' + patchVersion + '/node.lib'
, nodeLibUrl = distUrl + '/v' + version + '.' + patchVersion + '/node.lib'
gyp.verbose('Release dir', releaseDir)
gyp.verbose('Debug dir', debugDir)
gyp.verbose('`node.lib` url', nodeLibUrl)
Expand Down

0 comments on commit 2fb72a3

Please sign in to comment.