File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ function run() {
58
58
let response = {};
59
59
console.log("Starting Virtual Environment");
60
60
payload = {
61
- input: `source /home/${username}/.virtualenvs/ ${virtual_env}/bin/activate`,
61
+ input: `source /${virtual_env}/bin/activate`,
62
62
};
63
63
response = yield axios_1.default.post(console_url, payload, {
64
64
headers: { Authorization: `Token ${api_token}` },
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ function run() {
51
51
let response = { } ;
52
52
console . log ( "Starting Virtual Environment" ) ;
53
53
payload = {
54
- input : `source /home/ ${ username } /.virtualenvs/ ${ virtual_env } /bin/activate` ,
54
+ input : `source /${ virtual_env } /bin/activate` ,
55
55
} ;
56
56
response = yield axios_1 . default . post ( console_url , payload , {
57
57
headers : { Authorization : `Token ${ api_token } ` } ,
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ async function run() {
16
16
17
17
console . log ( "Starting Virtual Environment" ) ;
18
18
payload = {
19
- input : `source /home/ ${ username } /.virtualenvs/ ${ virtual_env } /bin/activate` ,
19
+ input : `source /${ virtual_env } /bin/activate` ,
20
20
} ;
21
21
response = await axios . post ( console_url , payload , {
22
22
headers : { Authorization : `Token ${ api_token } ` } ,
You can’t perform that action at this time.
0 commit comments