File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2265,7 +2265,7 @@ Object.defineProperties(
22652265 // These are optional arguments, so we only append to the arguments
22662266 // if "platform" or "provenance" is specified.
22672267 if ( platform !== '' ) buildDockerArgs . push ( `--platform=${ platform } ` ) ;
2268- if ( provenance !== '' ) buildDockerArgs . push ( `--provenance=${ provenance } ` )
2268+ if ( provenance !== '' ) buildDockerArgs . push ( `--provenance=${ provenance } ` ) ;
22692269
22702270 let imageSha ;
22712271 try {
@@ -2400,7 +2400,7 @@ Object.defineProperties(
24002400 const defaultCacheFrom = [ ] ;
24012401 const defaultScanOnPush = false ;
24022402 const defaultPlatform = '' ;
2403- const defaultProvenance = ''
2403+ const defaultProvenance = '' ;
24042404
24052405 if ( imageUri ) {
24062406 return await this . resolveImageUriAndShaFromUri ( imageUri ) ;
@@ -2458,8 +2458,8 @@ Object.defineProperties(
24582458 if ( imageDefinedInProvider . uri && imageDefinedInProvider . provenance ) {
24592459 throw new ServerlessError (
24602460 `The "provenance" property cannot be used with "uri" property "${ imageName } "` ,
2461- 'ECR_IMAGE_BOTH_URI_AND_PROVENANCE_DEFINED_ERROR' ,
2462- )
2461+ 'ECR_IMAGE_BOTH_URI_AND_PROVENANCE_DEFINED_ERROR'
2462+ ) ;
24632463 }
24642464 if ( imageDefinedInProvider . path ) {
24652465 return await this . resolveImageUriAndShaFromPath ( {
You can’t perform that action at this time.
0 commit comments