mirror of
https://github.com/swift-server/swift-aws-lambda-runtime.git
synced 2026-06-02 07:27:33 +00:00
Fix compile error on Windows (#328)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user