Fix compile error on Windows (#328)

This commit is contained in:
Sven A. Schmidt
2024-06-19 18:29:40 +02:00
committed by GitHub
parent cb09b958ee
commit 0d4716d30c
+2 -1
View File
@@ -205,7 +205,8 @@ struct AWSLambdaPackager: CommandPlugin {
#if os(macOS) || os(Linux)
let arguments = ["--junk-paths", "--symlinks", zipfilePath.string, relocatedArtifactPath.string, symbolicLinkPath.string]
#else
throw Error.unsupportedPlatform("can't or don't know how to create a zip file on this platform")
let arguments = [String]()
throw Errors.unsupportedPlatform("can't or don't know how to create a zip file on this platform")
#endif
// run the zip tool