Skip to content

Commit

Permalink
fix errors in groovy library
Browse files Browse the repository at this point in the history
Signed-off-by: Divya Madala <divyaasm@amazon.com>
  • Loading branch information
Divyaasm committed Feb 21, 2024
1 parent 897e726 commit dbdbe18
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vars/validateArtifacts.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ void call(Map args = [:]) {
System.exit(1)
}

sh(([
sh([
'${WORKSPACE}/validation.sh',
args.version ? "--version ${args.version}" : null,
args."file-path" ? "--file-path ${args.file-path}" : null,
Expand All @@ -33,5 +33,4 @@ void call(Map args = [:]) {
args."validate-digest-only" ? '--validate-digest-only' : null,
args."using-staging-artifact-only" ? '--using-staging-artifact-only' : null
].join(' '))

}

0 comments on commit dbdbe18

Please sign in to comment.