Skip to content

Commit f3ef65e

Browse files
authored
Merge branch 'main' into sebsto/examples
2 parents 29fc6a4 + 06936fe commit f3ef65e

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Plugins/AWSLambdaPackager/Plugin.swift

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,8 @@ struct AWSLambdaPackager: CommandPlugin {
220220
try FileManager.default.createDirectory(atPath: workingDirectory.path(), withIntermediateDirectories: true)
221221

222222
// rename artifact to "bootstrap"
223-
let relocatedArtifactPath = workingDirectory.appending(path: artifactPath.lastPathComponent)
224-
let symbolicLinkPath = workingDirectory.appending(path: "bootstrap")
223+
let relocatedArtifactPath = workingDirectory.appending(path: "bootstrap")
225224
try FileManager.default.copyItem(atPath: artifactPath.path(), toPath: relocatedArtifactPath.path())
226-
try FileManager.default.createSymbolicLink(
227-
atPath: symbolicLinkPath.path(),
228-
withDestinationPath: relocatedArtifactPath.lastPathComponent
229-
)
230225

231226
var arguments: [String] = []
232227
#if os(macOS) || os(Linux)
@@ -235,7 +230,6 @@ struct AWSLambdaPackager: CommandPlugin {
235230
"--symlinks",
236231
zipfilePath.lastPathComponent,
237232
relocatedArtifactPath.lastPathComponent,
238-
symbolicLinkPath.lastPathComponent,
239233
]
240234
#else
241235
throw Errors.unsupportedPlatform("can't or don't know how to create a zip file on this platform")

0 commit comments

Comments
 (0)