Skip to content

Commit

Permalink
chore: empty the contents of the sdkVersions.properties file when wri…
Browse files Browse the repository at this point in the history
…ting to it (#5916)
  • Loading branch information
kuhe authored Mar 18, 2024
1 parent 28dcfa3 commit 56e1cdc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions codegen/smithy-aws-typescript-codegen/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ tasks.register("set-aws-sdk-versions") {
mkdir("$buildDir/generated/resources/software/amazon/smithy/aws/typescript/codegen")
var versionsFile =
file("$buildDir/generated/resources/software/amazon/smithy/aws/typescript/codegen/sdkVersions.properties")
versionsFile.printWriter().close()

var roots = project.file("../../packages").listFiles().toMutableList() + project.file("../../clients").listFiles().toList()
roots.forEach { packageDir ->
var packageJsonFile = File(packageDir, "package.json")
Expand Down

0 comments on commit 56e1cdc

Please sign in to comment.