Skip to content

Commit 0d4716d

Browse files
Fix compile error on Windows (#328)
1 parent cb09b95 commit 0d4716d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Plugins/AWSLambdaPackager/Plugin.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,8 @@ struct AWSLambdaPackager: CommandPlugin {
205205
#if os(macOS) || os(Linux)
206206
let arguments = ["--junk-paths", "--symlinks", zipfilePath.string, relocatedArtifactPath.string, symbolicLinkPath.string]
207207
#else
208-
throw Error.unsupportedPlatform("can't or don't know how to create a zip file on this platform")
208+
let arguments = [String]()
209+
throw Errors.unsupportedPlatform("can't or don't know how to create a zip file on this platform")
209210
#endif
210211

211212
// run the zip tool

0 commit comments

Comments
 (0)