File tree 1 file changed +1
-7
lines changed
Plugins/AWSLambdaPackager
1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -220,13 +220,8 @@ struct AWSLambdaPackager: CommandPlugin {
220
220
try FileManager . default. createDirectory ( atPath: workingDirectory. path ( ) , withIntermediateDirectories: true )
221
221
222
222
// 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 " )
225
224
try FileManager . default. copyItem ( atPath: artifactPath. path ( ) , toPath: relocatedArtifactPath. path ( ) )
226
- try FileManager . default. createSymbolicLink (
227
- atPath: symbolicLinkPath. path ( ) ,
228
- withDestinationPath: relocatedArtifactPath. lastPathComponent
229
- )
230
225
231
226
var arguments : [ String ] = [ ]
232
227
#if os(macOS) || os(Linux)
@@ -235,7 +230,6 @@ struct AWSLambdaPackager: CommandPlugin {
235
230
" --symlinks " ,
236
231
zipfilePath. lastPathComponent,
237
232
relocatedArtifactPath. lastPathComponent,
238
- symbolicLinkPath. lastPathComponent,
239
233
]
240
234
#else
241
235
throw Errors . unsupportedPlatform ( " can't or don't know how to create a zip file on this platform " )
You can’t perform that action at this time.
0 commit comments