-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
E2e #5
E2e #5
Conversation
mutating func write(_ string: String) { | ||
FileHandle.standardError.write(string.data(using: .utf8)!) | ||
} | ||
} | ||
|
||
static func piped(command: String, label: String?) -> (Int, String, String) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lines should not have trailing whitespace.
|
||
|
||
var redir = Redir() | ||
|
||
if label != nil { | ||
print("\(label!): ".green + command.bold.green) | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lines should not have trailing whitespace.
if label != nil { | ||
print("\(label!): ".green + command.bold.green) | ||
} | ||
|
||
let exitCode = ShellCommand.command(command: command, stdout: { line in | ||
print("\(prefix): ".green + line) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lines should not have trailing whitespace.
"RUN swift build", | ||
"WORKDIR .build/debug", | ||
"RUN mv <packageName> swiftdaEntrypoint", | ||
"RUN zip /app/lambda.zip swiftdaEntrypoint", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing commas in arrays and dictionaries should be avoided/enforced.
No description provided.