File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,9 @@ class BaseService {
156156
157157 // check process arguments
158158 const args = require ( 'yargs' )
159+ // Allow the below definition of --version to not trigger warnings
160+ // per https://yargs.js.org/docs/#api-reference-version
161+ . version ( false )
159162 . usage ( 'Usage: $0 [command] [options]' )
160163 . options ( {
161164 n : {
@@ -187,9 +190,6 @@ class BaseService {
187190 global : true
188191 }
189192 } )
190- // Allow the above definition of --version to not trigger warnings
191- // per https://yargs.js.org/docs/#api-reference-version
192- . version ( false )
193193 . command ( 'docker-start' , 'starts the service in a Docker container' )
194194 . command ( 'docker-test' , 'starts the test process in a Docker container' )
195195 . command ( 'build' , 'builds the service\'s package and deploy repo' , {
Original file line number Diff line number Diff line change 11{
22 "name" : " service-runner" ,
3- "version" : " 6.0.0 " ,
3+ "version" : " 6.0.1 " ,
44 "description" : " Generic nodejs service supervisor / cluster runner" ,
55 "main" : " service-runner.js" ,
66 "bin" : {
You can’t perform that action at this time.
0 commit comments