This repository was archived by the owner on Oct 12, 2022. It is now read-only.
File tree 2 files changed +6
-10
lines changed
2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " vsoagent-installer" ,
3
3
"description" : " Visual Studio Xplat Build Agent Installer" ,
4
4
"main" : " bin/install.js" ,
5
- "version" : " 0.6.3 " ,
5
+ "version" : " 0.6.5 " ,
6
6
"vsoAgentInfo" : {
7
7
"serviceMilestone" : " 1.999.0"
8
8
},
42
42
"semver" : " ^5.1.0" ,
43
43
"shelljs" : " 0.3.x" ,
44
44
"svchost" : " 0.1.x" ,
45
- "svcinstall" : " ^0.2.1 " ,
45
+ "svcinstall" : " ^0.3.0 " ,
46
46
"validator" : " ~3.11.0" ,
47
- "vso-node-api" : " ^3.0.1 " ,
48
- "vso-task-lib" : " ^0.5.0 " ,
47
+ "vso-node-api" : " ^3.0.2 " ,
48
+ "vso-task-lib" : " ^0.5.5 " ,
49
49
"xmlreader" : " ^0.2.3"
50
50
},
51
51
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -45,13 +45,9 @@ var svcName = 'vsoagent.' + accountName + '.' + agentName;
45
45
console . log ( 'serviceName: vsoagent.' + svcName ) ;
46
46
var svcinstall = new si . SvcInstall ( ) ;
47
47
48
- /*
49
- if (typeof svcinstall[action] !== 'function') {
50
- showUsage(1);
51
- }*/
48
+ // use internal node
49
+ var nodePath = path . join ( __dirname , '..' , 'runtime/node/bin/node' ) ;
52
50
53
- // node is known as nodejs on some *nix installs
54
- var nodePath = shelljs . which ( 'nodejs' ) || shelljs . which ( 'node' ) ;
55
51
var getSvcCfg = function ( ) {
56
52
if ( ! shelljs . test ( '-f' , _cfgPath ) ) {
57
53
console . error ( 'Error: not configured as a service. use install action.' ) ;
You can’t perform that action at this time.
0 commit comments