File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Plugins/AWSLambdaPackager Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ( ) )
You can’t perform that action at this time.
0 commit comments