File tree 2 files changed +3
-3
lines changed
Plugins/AWSLambdaPackager
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ struct AWSLambdaPackager: CommandPlugin {
101
101
try Utils . execute (
102
102
executable: dockerToolPath,
103
103
arguments: [ " pull " , baseImage] ,
104
- logLevel: . output
104
+ logLevel: verboseLogging ? . debug : . output
105
105
)
106
106
}
107
107
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ struct Utils {
27
27
logLevel: ProcessLogLevel
28
28
) throws -> String {
29
29
if logLevel >= . debug {
30
- print ( " \( executable. absoluteString ) \( arguments. joined ( separator: " " ) ) " )
30
+ print ( " \( executable. path ( ) ) \( arguments. joined ( separator: " " ) ) " )
31
31
}
32
32
33
33
let fd = dup ( 1 )
@@ -83,7 +83,7 @@ struct Utils {
83
83
let process = Process ( )
84
84
process. standardOutput = pipe
85
85
process. standardError = pipe
86
- process. executableURL = URL ( fileURLWithPath : executable. description )
86
+ process. executableURL = executable
87
87
process. arguments = arguments
88
88
if let workingDirectory = customWorkingDirectory {
89
89
process. currentDirectoryURL = URL ( fileURLWithPath: workingDirectory. path ( ) )
You can’t perform that action at this time.
0 commit comments