Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Commit

Permalink
feat(migrate): pass current version to switcher
Browse files Browse the repository at this point in the history
With the current version, switcher will be able to migrate
currently globally installed packages
  • Loading branch information
clementprevot authored Oct 17, 2016
1 parent fdc6a8a commit ba5e34b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if (!nodeVersion) processExit()
config(function (nodeVersions) {
var maxNodeVersion = semver.maxSatisfying(nodeVersions, nodeVersion)

var switcher = Switcher(maxNodeVersion)
var switcher = Switcher(maxNodeVersion, nodeVersion)
var switcherBin = null

function getBin (next) {
Expand Down

0 comments on commit ba5e34b

Please sign in to comment.