File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2265,7 +2265,7 @@ Object.defineProperties(
2265
2265
// These are optional arguments, so we only append to the arguments
2266
2266
// if "platform" or "provenance" is specified.
2267
2267
if ( platform !== '' ) buildDockerArgs . push ( `--platform=${ platform } ` ) ;
2268
- if ( provenance !== '' ) buildDockerArgs . push ( `--provenance=${ provenance } ` )
2268
+ if ( provenance !== '' ) buildDockerArgs . push ( `--provenance=${ provenance } ` ) ;
2269
2269
2270
2270
let imageSha ;
2271
2271
try {
@@ -2400,7 +2400,7 @@ Object.defineProperties(
2400
2400
const defaultCacheFrom = [ ] ;
2401
2401
const defaultScanOnPush = false ;
2402
2402
const defaultPlatform = '' ;
2403
- const defaultProvenance = ''
2403
+ const defaultProvenance = '' ;
2404
2404
2405
2405
if ( imageUri ) {
2406
2406
return await this . resolveImageUriAndShaFromUri ( imageUri ) ;
@@ -2458,8 +2458,8 @@ Object.defineProperties(
2458
2458
if ( imageDefinedInProvider . uri && imageDefinedInProvider . provenance ) {
2459
2459
throw new ServerlessError (
2460
2460
`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
+ ) ;
2463
2463
}
2464
2464
if ( imageDefinedInProvider . path ) {
2465
2465
return await this . resolveImageUriAndShaFromPath ( {
You can’t perform that action at this time.
0 commit comments