File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ export const createCommand = new Command<GlobalContext>()
140140 ) ;
141141 }
142142 } ,
143+ default : AVAILABLE_BUILD_TIMEOUTS [ 0 ] ,
143144 } ,
144145 )
145146 . option (
@@ -159,6 +160,7 @@ export const createCommand = new Command<GlobalContext>()
159160 ) ;
160161 }
161162 } ,
163+ default : AVAILABLE_BUILD_MEMORY_LIMITS [ 0 ] ,
162164 } ,
163165 )
164166 . option (
@@ -305,11 +307,6 @@ export const createCommand = new Command<GlobalContext>()
305307 }
306308 }
307309
308- const buildTimeout = required ( options . buildTimeout , "build-timeout" ) ;
309- const buildMemoryLimit = required (
310- options . buildMemoryLimit ,
311- "build-memory-limit" ,
312- ) ;
313310 const region = required ( options . region , "region" ) ;
314311
315312 console . log ( "Using the following build configuration:" ) ;
@@ -321,8 +318,8 @@ export const createCommand = new Command<GlobalContext>()
321318 repo,
322319 buildDirectory,
323320 buildConfig : buildConfig satisfies BuildConfig ,
324- buildTimeout,
325- buildMemoryLimit,
321+ buildTimeout : options . buildTimeout ,
322+ buildMemoryLimit : options . buildMemoryLimit ,
326323 region,
327324 } ;
328325 } else {
You can’t perform that action at this time.
0 commit comments