Skip to content

Commit e8fda08

Browse files
committed
fix resources packaging on Linux
1 parent 0a74051 commit e8fda08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugins/AWSLambdaPackager/Plugin.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,11 @@ struct AWSLambdaPackager: CommandPlugin {
250250
let relocatedResourcesDirectory = workingDirectory.appending(path: resourcesDirectoryName)
251251
if FileManager.default.fileExists(atPath: artifactURL.path()) {
252252
do {
253+
arguments.append(resourcesDirectoryName)
253254
try FileManager.default.copyItem(
254255
atPath: artifactURL.path(),
255256
toPath: relocatedResourcesDirectory.path()
256257
)
257-
arguments.append(resourcesDirectoryName)
258258
} catch let error as CocoaError {
259259

260260
// On Linux, when the build has been done with Docker,

0 commit comments

Comments
 (0)