Skip to content

Commit 054fa81

Browse files
authored
Merge branch 'main' into sebsto/doc
2 parents 1ed0fb0 + fc65c3c commit 054fa81

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Plugins/AWSLambdaPackager/Plugin.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ struct AWSLambdaPackager: CommandPlugin {
101101
try Utils.execute(
102102
executable: dockerToolPath,
103103
arguments: ["pull", baseImage],
104-
logLevel: .output
104+
logLevel: verboseLogging ? .debug : .output
105105
)
106106
}
107107

Plugins/AWSLambdaPackager/PluginUtils.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ struct Utils {
2727
logLevel: ProcessLogLevel
2828
) throws -> String {
2929
if logLevel >= .debug {
30-
print("\(executable.absoluteString) \(arguments.joined(separator: " "))")
30+
print("\(executable.path()) \(arguments.joined(separator: " "))")
3131
}
3232

3333
let fd = dup(1)
@@ -83,7 +83,7 @@ struct Utils {
8383
let process = Process()
8484
process.standardOutput = pipe
8585
process.standardError = pipe
86-
process.executableURL = URL(fileURLWithPath: executable.description)
86+
process.executableURL = executable
8787
process.arguments = arguments
8888
if let workingDirectory = customWorkingDirectory {
8989
process.currentDirectoryURL = URL(fileURLWithPath: workingDirectory.path())

0 commit comments

Comments
 (0)