Skip to content
This repository has been archived by the owner on Feb 10, 2019. It is now read-only.

Commit

Permalink
Return promise object when pyvenv is called.
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroaki-yamamoto committed Aug 21, 2017
1 parent be7470d commit c417b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

function pyvenv(cmd) {
const commandFunc = activateVenv ? command.pyvenv : command;
commandFunc.apply(this, [].concat(
return commandFunc.apply(this, [].concat(
cmd, activateVenv ? [venvPath, undefined] : [],
{ stdio: ['inherit', 'inherit', 'pipe'] }
)).catch((err) => {
Expand Down

0 comments on commit c417b42

Please sign in to comment.