@@ -17,40 +17,40 @@ const argv = yargs(hideBin(process.argv))
1717 . strict ( )
1818 . option ( 'bucketName' , {
1919 type : 'string' ,
20- default : ( ) => process . env . EVERGREEN_BUCKET_NAME ,
20+ default : process . env . EVERGREEN_BUCKET_NAME ,
2121 } )
2222 . option ( 'bucketKeyPrefix' , {
2323 type : 'string' ,
24- default : ( ) => process . env . EVERGREEN_BUCKET_KEY_PREFIX ,
24+ default : process . env . EVERGREEN_BUCKET_KEY_PREFIX ,
2525 } )
2626 . option ( 'devVersion' , {
2727 type : 'string' ,
2828 // For dev versions we need this from evergreen. For beta or stable (or by
2929 // default, ie. when testing a locally packaged app) we get it from the
3030 // package.json
31- default : ( ) => process . env . DEV_VERSION_IDENTIFIER ,
31+ default : process . env . DEV_VERSION_IDENTIFIER ,
3232 } )
3333 . option ( 'isWindows' , {
3434 type : 'boolean' ,
35- default : ( ) => process . env . IS_WINDOWS === 'true' ,
35+ default : process . env . IS_WINDOWS === 'true' ,
3636 } )
3737 . option ( 'isOSX' , {
3838 type : 'boolean' ,
39- default : ( ) => process . env . IS_OSX === 'true' ,
39+ default : process . env . IS_OSX === 'true' ,
4040 } )
4141 . option ( 'isRHEL' , {
4242 type : 'boolean' ,
43- default : ( ) => process . env . IS_RHEL === 'true' ,
43+ default : process . env . IS_RHEL === 'true' ,
4444 } )
4545 . option ( 'isUbuntu' , {
4646 type : 'boolean' ,
47- default : ( ) => process . env . IS_UBUNTU === 'true' ,
47+ default : process . env . IS_UBUNTU === 'true' ,
4848 } )
4949 . option ( 'arch' , {
5050 type : 'string' ,
5151 choices : [ 'x64' , 'arm64' ] ,
5252 demandOption : true ,
53- default : ( ) => process . env . ARCH ?? process . arch ,
53+ default : process . env . ARCH ?? process . arch ,
5454 } )
5555 . option ( 'skipDownload' , {
5656 type : 'boolean' ,
0 commit comments